mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
typescript: convert utils/key_map (#23941)
This commit is contained in:
parent
63d765e3a0
commit
89d88553cf
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export const keyMap = {
|
export const keyMap: { [key: number]: string } = {
|
||||||
8: 'backspace',
|
8: 'backspace',
|
||||||
9: 'tab',
|
9: 'tab',
|
||||||
13: 'enter',
|
13: 'enter',
|
||||||
|
@ -117,5 +117,5 @@ export const keyMap = {
|
||||||
220: 'backSlash',
|
220: 'backSlash',
|
||||||
221: 'closeBracket',
|
221: 'closeBracket',
|
||||||
222: 'singleQuote',
|
222: 'singleQuote',
|
||||||
224: 'meta'
|
224: 'meta',
|
||||||
};
|
};
|
Loading…
Add table
Add a link
Reference in a new issue