mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Optimize + refactor code
This commit is contained in:
4
src/types/preferences.d.ts
vendored
4
src/types/preferences.d.ts
vendored
@@ -4,8 +4,8 @@ export type PreferenceSetting = {
|
||||
options?: {[index: string]: string};
|
||||
multipleOptions?: {[index: string]: string};
|
||||
unsupported?: boolean;
|
||||
unsupported_note?: string | HTMLElement;
|
||||
note?: string | HTMLElement;
|
||||
unsupportedNote?: string | (() => HTMLElement);
|
||||
note?: string | (() => HTMLElement);
|
||||
type?: SettingElementType;
|
||||
ready?: (setting: PreferenceSetting) => void;
|
||||
migrate?: (this: Preferences, savedPrefs: any, value: any) => void;
|
||||
|
Reference in New Issue
Block a user