mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-03-23 23:57:23 +01:00
Revert "refactor: add font management module and update global types (#1317)" (#1322)
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
This reverts commit 9fb1b9c410.
This commit is contained in:
parent
9fb1b9c410
commit
cff57dc4c8
5 changed files with 143 additions and 179 deletions
|
|
@ -1,5 +1,4 @@
|
|||
export const byId = <T extends HTMLElement>(id: string): T | undefined =>
|
||||
document.getElementById(id) as T;
|
||||
export const byId = document.getElementById.bind(document);
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue