Skip to content

Commit

Permalink
Merge branch 'remove-enum'
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Sep 26, 2024
2 parents 53226fa + e3c8d81 commit 4103870
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions public/types/src/scripts/interfaces/keycode-map.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export declare const enum KeyCodeMap {
BACK_KEY = 46,
DELETE_KEY = 8,
ENTER_KEY = 13,
A_KEY = 65,
ESC_KEY = 27,
UP_KEY = 38,
DOWN_KEY = 40,
PAGE_UP_KEY = 33,
PAGE_DOWN_KEY = 34
}
export declare const KeyCodeMap: {
readonly BACK_KEY: 46;
readonly DELETE_KEY: 8;
readonly ENTER_KEY: 13;
readonly A_KEY: 65;
readonly ESC_KEY: 27;
readonly UP_KEY: 38;
readonly DOWN_KEY: 40;
readonly PAGE_UP_KEY: 33;
readonly PAGE_DOWN_KEY: 34;
};
22 changes: 11 additions & 11 deletions src/scripts/interfaces/keycode-map.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export const enum KeyCodeMap {
BACK_KEY = 46,
DELETE_KEY = 8,
ENTER_KEY = 13,
A_KEY = 65,
ESC_KEY = 27,
UP_KEY = 38,
DOWN_KEY = 40,
PAGE_UP_KEY = 33,
PAGE_DOWN_KEY = 34,
}
export const KeyCodeMap = {
BACK_KEY: 46,
DELETE_KEY: 8,
ENTER_KEY: 13,
A_KEY: 65,
ESC_KEY: 27,
UP_KEY: 38,
DOWN_KEY: 40,
PAGE_UP_KEY: 33,
PAGE_DOWN_KEY: 34,
} as const;

0 comments on commit 4103870

Please sign in to comment.