CLose story 1.2
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Minimal FoundryVTT global type declarations for type-checking the module entry point.
|
||||
* The `Hooks` object is provided by FoundryVTT at runtime as a browser global.
|
||||
*/
|
||||
|
||||
declare const Hooks: {
|
||||
once(event: string, fn: (...args: unknown[]) => void): void;
|
||||
on(event: string, fn: (...args: unknown[]) => void): void;
|
||||
off(event: string, fn: (...args: unknown[]) => void): void;
|
||||
call(event: string, ...args: unknown[]): boolean;
|
||||
callAll(event: string, ...args: unknown[]): boolean;
|
||||
};
|
||||
Reference in New Issue
Block a user