mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Fix global vars
This commit is contained in:
9
src/types/index.d.ts
vendored
9
src/types/index.d.ts
vendored
@@ -50,12 +50,3 @@ type BxStates = {
|
||||
}
|
||||
|
||||
type DualEnum = {[index: string]: number} & {[index: number]: string};
|
||||
|
||||
declare var SCRIPT_VERSION: string;
|
||||
declare var window: Window & typeof globalThis;
|
||||
declare var AppInterface: any;
|
||||
declare var STREAM_WEBRTC: RTCPeerConnection;
|
||||
declare var States: BxStates;
|
||||
declare var NATIVE_FETCH: typeof window.fetch;
|
||||
declare var SCRIPT_HOME: string;
|
||||
declare var LOCALE: number;
|
||||
|
2
src/types/preferences.d.ts
vendored
2
src/types/preferences.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
export type PreferenceSetting = {
|
||||
default: any;
|
||||
options?: {[index: string]: string};
|
||||
multiplOptions?: {[index: string]: string};
|
||||
multipleOptions?: {[index: string]: string};
|
||||
unsupported?: string | boolean;
|
||||
note?: string | HTMLElement;
|
||||
type?: SettingElementType;
|
||||
|
Reference in New Issue
Block a user