Skip to content

Commit 4b750a7

Browse files
committed
Fix type checking
1 parent 7c81592 commit 4b750a7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/resources/static/tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
"DOM",
1111
// lib-admin-ui uses an old version of slickgrid that doesn't support fat arrow
1212
"es5",
13+
14+
// Even though target is currently es5 for slickgrid using 'Array.find' should work.
15+
"ES2015.Core", // https://github.com/Microsoft/TypeScript/blob/main/src/lib/es2015.core.d.ts
16+
17+
// Even though target is currently es5 for slickgrid using 'async' should work.
18+
"ES2015.Promise" // https://github.com/microsoft/TypeScript/blob/main/src/lib/es2015.promise.d.ts
19+
1320
// "ES2020",
14-
// "ES2015.Promise"
1521
],
1622
"paths": {},
1723
"rootDir": ".",

0 commit comments

Comments
 (0)