From 876e622f4f61a4aa229ad69782d374335c3d8d6b Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 29 Aug 2022 18:11:44 +0200 Subject: Progress --- src/globals.d.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/globals.d.ts') 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 -- cgit