mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-19 22:22:06 +00:00
feat: migration to TypeScript part 2
Co-authored-by: Su-Yong <simssy2205@gmail.com>
This commit is contained in:
12
custom-electron-prompt.d.ts
vendored
12
custom-electron-prompt.d.ts
vendored
@ -24,8 +24,8 @@ declare module 'custom-electron-prompt' {
|
||||
cancel?: string;
|
||||
};
|
||||
alwaysOnTop?: boolean;
|
||||
value?: string;
|
||||
type?: 'input' | 'select' | 'counter';
|
||||
value?: unknown;
|
||||
type?: 'input' | 'select' | 'counter' | 'multiInput';
|
||||
selectOptions?: Record<string, string>;
|
||||
keybindOptions?: PromptKeybindOptions[];
|
||||
counterOptions?: PromptCounterOptions;
|
||||
@ -37,7 +37,13 @@ declare module 'custom-electron-prompt' {
|
||||
frame?: boolean;
|
||||
customScript?: string;
|
||||
enableRemoteModule?: boolean;
|
||||
inputAttrs: Partial<HTMLInputElement>;
|
||||
inputAttrs?: Partial<HTMLInputElement>;
|
||||
multiInputOptions?: {
|
||||
label: string;
|
||||
value: unknown;
|
||||
inputAttrs?: Partial<HTMLInputElement>;
|
||||
selectOptions?: Record<string, string>;
|
||||
}[];
|
||||
}
|
||||
|
||||
const prompt: (options?: PromptOptions, parent?: BrowserWindow) => Promise<string | null>;
|
||||
|
||||
Reference in New Issue
Block a user