mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Update MKB codes
This commit is contained in:
18
src/types/preferences.d.ts
vendored
Normal file
18
src/types/preferences.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
export type PreferenceSetting = {
|
||||
default: any;
|
||||
options?: {[index: string]: string};
|
||||
multiple_options?: {[index: string]: string};
|
||||
unsupported?: string | boolean;
|
||||
note?: string | HTMLElement;
|
||||
type?: SettingElementType;
|
||||
ready?: () => void;
|
||||
migrate?: (savedPrefs: any, value: any) => {};
|
||||
min?: number;
|
||||
max?: number;
|
||||
steps?: number;
|
||||
experimental?: boolean;
|
||||
params?: any;
|
||||
label?: string;
|
||||
};
|
||||
|
||||
export type PreferenceSettings = {[index in PrefKey]: PreferenceSetting};
|
Reference in New Issue
Block a user