refactor: add prettier and format

This commit is contained in:
Hufe921
2023-07-18 20:33:59 +08:00
parent 9c2bd33b7a
commit d464c50435
158 changed files with 3749 additions and 2265 deletions
+9 -9
View File
@@ -2,12 +2,12 @@ import { Command } from '../../core/command/Command'
import { KeyMap } from '../../dataset/enum/KeyMap'
export interface IRegisterShortcut {
key: KeyMap;
ctrl?: boolean;
meta?: boolean;
mod?: boolean; // windows:ctrl || mac:command
shift?: boolean;
alt?: boolean; // windows:alt || mac:option
isGlobal?: boolean;
callback: (command: Command) => any;
}
key: KeyMap
ctrl?: boolean
meta?: boolean
mod?: boolean // windows:ctrl || mac:command
shift?: boolean
alt?: boolean // windows:alt || mac:option
isGlobal?: boolean
callback: (command: Command) => any
}