mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
refactor(es modules): continue migration
This commit is contained in:
parent
97f2b213c4
commit
030caec6e8
23 changed files with 61 additions and 42 deletions
7
src/types/global.d.ts
vendored
7
src/types/global.d.ts
vendored
|
|
@ -10,6 +10,13 @@ interface Window {
|
|||
[key: string]: boolean;
|
||||
};
|
||||
};
|
||||
pack: IPack;
|
||||
grig: IGrid;
|
||||
}
|
||||
|
||||
interface Node {
|
||||
on: (name: string, fn: EventListenerOrEventListenerObject, options?: AddEventListenerOptions) => void;
|
||||
off: (name: string, fn: EventListenerOrEventListenerObject) => void;
|
||||
}
|
||||
|
||||
type UnknownObject = {[key: string]: unknown};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue