Skip to content

Commit

Permalink
typescript: convert utils/key_map (elastic#23941)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Oct 26, 2018
1 parent 8afa15f commit 41eff62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

export const keyMap = {
export const keyMap: { [key: number]: string } = {
8: 'backspace',
9: 'tab',
13: 'enter',
Expand Down Expand Up @@ -117,5 +117,5 @@ export const keyMap = {
220: 'backSlash',
221: 'closeBracket',
222: 'singleQuote',
224: 'meta'
224: 'meta',
};

0 comments on commit 41eff62

Please sign in to comment.