Skip to content

Commit bab0ba4

Browse files
committed
fix: set noImplicitUseStrict: true in order to fix setting the require on readonly global object
1 parent 445e236 commit bab0ba4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tsconfig.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
{
22
"compilerOptions": {
33
"module": "commonjs",
4-
"target": "es6",
4+
"target": "es5",
5+
"lib": [
6+
"es6",
7+
"dom",
8+
"es2015.iterable"
9+
],
10+
"noImplicitUseStrict": true,
511
"experimentalDecorators": true,
612
"emitDecoratorMetadata": true,
713
"noEmitHelpers": true,
814
"noEmitOnError": true,
915
"baseUrl": ".",
1016
"paths": {
1117
"*": [
12-
"./node_modules/tns-core-modules/*",
1318
"./node_modules/*"
1419
]
1520
}

0 commit comments

Comments
 (0)