diff options
Diffstat (limited to 'src/globals.d.ts')
-rw-r--r-- | src/globals.d.ts | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts index 81b04af..610466a 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -1,9 +1,14 @@ -declare var appSettings: any; +import TVencordNative from "./VencordNative"; declare global { + export var VencordNative: typeof TVencordNative; + export var appSettings: { + set(setting: string, v: any): void; + }; + interface Window { - webpackChunkdiscord_app: { push(chunk): any; }; + webpackChunkdiscord_app: { + push(chunk: any): any; + }; } } - -export { };
\ No newline at end of file |