diff options
Diffstat (limited to 'src/jsUtils.ts')
-rw-r--r-- | src/jsUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsUtils.ts b/src/jsUtils.ts index 36d70da25..ba7542eab 100644 --- a/src/jsUtils.ts +++ b/src/jsUtils.ts | |||
@@ -21,4 +21,4 @@ export const convertToJSON = (data: string | any | undefined | null) => | |||
21 | export const cleanseJSObject = (data: any | undefined | null) => | 21 | export const cleanseJSObject = (data: any | undefined | null) => |
22 | JSON.parse(JSON.stringify(data)); | 22 | JSON.parse(JSON.stringify(data)); |
23 | 23 | ||
24 | export const isEscKeyPress = (keyCode : Number) => keyCode === 27; | 24 | export const isEscKeyPress = (keyCode: Number) => keyCode === 27; |