Fix NPE when opening DevTools

This commit is contained in:
Vendicated 2022-08-29 18:45:58 +02:00
parent 876e622f4f
commit 1709ab61ef
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
4 changed files with 17 additions and 7 deletions

6
src/globals.d.ts vendored
View file

@ -1,7 +1,5 @@
import TVencordNative from "./VencordNative";
declare global {
export var VencordNative: typeof TVencordNative;
export var VencordNative: typeof import("./VencordNative").default;
export var appSettings: {
set(setting: string, v: any): void;
};
@ -12,3 +10,5 @@ declare global {
};
}
}
export { };