mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
13 lines
290 B
TypeScript
13 lines
290 B
TypeScript
declare module 'keyboardevent-from-electron-accelerator' {
|
|
interface KeyboardEvent {
|
|
key?: string;
|
|
code?: string;
|
|
metaKey?: boolean;
|
|
altKey?: boolean;
|
|
ctrlKey?: boolean;
|
|
shiftKey?: boolean;
|
|
}
|
|
|
|
export const toKeyEvent: (accelerator: string) => KeyboardEvent;
|
|
}
|