Files
youtube-music/src/plugins/picture-in-picture/keyboardevent-from-electron-accelerator.d.ts
2023-10-15 21:52:48 +09:00

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;
}