aboutsummaryrefslogtreecommitdiffstats
path: root/src/jsUtils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsUtils.ts')
-rw-r--r--src/jsUtils.ts2
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) =>
21export const cleanseJSObject = (data: any | undefined | null) => 21export const cleanseJSObject = (data: any | undefined | null) =>
22 JSON.parse(JSON.stringify(data)); 22 JSON.parse(JSON.stringify(data));
23 23
24export const isEscKeyPress = (keyCode : Number) => keyCode === 27; 24export const isEscKeyPress = (keyCode: Number) => keyCode === 27;