Fix message links from search.

This commit is contained in:
Paul
2021-07-31 22:39:15 +01:00
parent 8872ed56b1
commit 63d2d1b760
5 changed files with 44 additions and 3 deletions

18
src/globals.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
type Build = "stable" | "nightly" | "dev";
type NativeConfig = {
frame: boolean;
build: Build;
};
declare interface Window {
isNative?: boolean;
native: {
close();
reload();
getConfig(): NativeConfig;
setFrame(frame: boolean);
setBuild(build: Build);
};
}