aboutsummaryrefslogtreecommitdiff
path: root/src/globals.d.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-08-29 18:11:44 +0200
committerVendicated <vendicated@riseup.net>2022-08-29 18:11:44 +0200
commit876e622f4f61a4aa229ad69782d374335c3d8d6b (patch)
tree9119371f584f59b4512553d6548bd11fc84b7dcf /src/globals.d.ts
parentaf498e78291b67377aaf876c84143cdfe7c8b308 (diff)
downloadVencord-876e622f4f61a4aa229ad69782d374335c3d8d6b.tar.gz
Vencord-876e622f4f61a4aa229ad69782d374335c3d8d6b.tar.bz2
Vencord-876e622f4f61a4aa229ad69782d374335c3d8d6b.zip
Progress
Diffstat (limited to 'src/globals.d.ts')
-rw-r--r--src/globals.d.ts13
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