mirror of
https://github.com/revoltchat/revite.git
synced 2025-02-23 08:41:05 -05:00
19 lines
319 B
TypeScript
19 lines
319 B
TypeScript
|
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);
|
||
|
};
|
||
|
}
|