There was an error while loading. Please reload this page.
2 parents b3ba694 + 402ae34 commit dd45427Copy full SHA for dd45427
1 file changed
src/hotkey.ts
@@ -1,3 +1,5 @@
1
+import {NormalizedSequenceString} from './sequence'
2
+
3
const normalizedHotkeyBrand = Symbol('normalizedHotkey')
4
5
/**
@@ -17,7 +19,7 @@ const normalizedHotkeyBrand = Symbol('normalizedHotkey')
17
19
* "Control+s" // Control modifier plus letter
18
20
* "Control+Alt+Delete" // Multiple modifiers
21
*/
-export type NormalizedHotkeyString = string & {[normalizedHotkeyBrand]: true}
22
+export type NormalizedHotkeyString = NormalizedSequenceString & {[normalizedHotkeyBrand]: true}
23
24
25
* Returns a hotkey character string for keydown and keyup events.
0 commit comments