refactor(keycodes): allow strings and numbers as key codes

This commit is contained in:
moklick
2020-11-10 14:27:15 +01:00
parent 965fb2a212
commit 959216f6fc
5 changed files with 35 additions and 31 deletions
+2
View File
@@ -329,3 +329,5 @@ export type FlowTransform = {
};
export type TranslateExtent = [[number, number], [number, number]];
export type KeyCode = number | string;