From b2000f04663092f7a4dfcbab306d67df7e5ce538 Mon Sep 17 00:00:00 2001 From: "caleb.mabry.15@cnu.edu" Date: Thu, 24 Mar 2022 00:22:33 -0400 Subject: Added support for issue with aomlParser --- tsconfig.json | 2 +- webAO/utils/aoml.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 7803fbe..85f6983 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "outDir": "./dist", "allowJs": true, "target": "es5", - //"strict": true, + "strict": true, "strictNullChecks": false, //document.getElementBy "downlevelIteration": true }, diff --git a/webAO/utils/aoml.ts b/webAO/utils/aoml.ts index 154274d..c355edf 100644 --- a/webAO/utils/aoml.ts +++ b/webAO/utils/aoml.ts @@ -1,6 +1,7 @@ import request from "../services/request" interface Aoml { + [key: string]: any | number, name: string; start: string; end: string; -- cgit From cb5117e66c7789db728e80a0b47c2011a46bd6e0 Mon Sep 17 00:00:00 2001 From: "caleb.mabry.15@cnu.edu" Date: Thu, 24 Mar 2022 00:26:33 -0400 Subject: Change any to string --- webAO/utils/aoml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webAO/utils/aoml.ts b/webAO/utils/aoml.ts index c355edf..fbdee21 100644 --- a/webAO/utils/aoml.ts +++ b/webAO/utils/aoml.ts @@ -1,7 +1,7 @@ import request from "../services/request" interface Aoml { - [key: string]: any | number, + [key: string]: string | number, name: string; start: string; end: string; -- cgit