Skip to content

Commit 73da5c2

Browse files
refactor : Js to Ts : src/simulator/src/hotkey_binder/defaultKeys.ts (#430)
add and remove Co-authored-by: Josh Varga <[email protected]>
1 parent 09f75e0 commit 73da5c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/simulator/src/hotkey_binder/defaultKeys.js renamed to src/simulator/src/hotkey_binder/defaultKeys.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/**Add more elements here, along with a valid value for key
22
* Elements keys must have the same name as their ID
33
**/
4+
export interface DefaultKeysType {
5+
[key: string]: string;
6+
}
47

5-
export const defaultKeys = {
8+
export const defaultKeys: DefaultKeysType = {
69
'New Circuit': 'Shift + N',
710
'Save Online': 'Ctrl + S',
811
'Save Offline': 'Ctrl + Alt + S',

0 commit comments

Comments
 (0)