Skip to content

Commit 8b6c5e7

Browse files
committed
Disable "use strict" and helper emission in TS transpilation.
1 parent adf33be commit 8b6c5e7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

nativescript-angular/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
"sourceMap": true,
66
"emitDecoratorMetadata": true,
77
"experimentalDecorators": true,
8+
"noImplicitUseStrict": true,
9+
"noEmitHelpers": true,
810
"declaration": true,
911
"removeComments": false,
1012
"noEmitOnError": true,
1113
"noImplicitAny": false
1214
}
13-
}
15+
}

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"compilerOptions": {
33
"emitDecoratorMetadata": true,
4+
"noImplicitUseStrict": true,
5+
"noEmitHelpers": true,
46
"experimentalDecorators": true,
57
"target": "es5",
68
"module": "commonjs",
@@ -11,4 +13,4 @@
1113
"./node_modules/tns-core-modules/tns-core-modules.d.ts",
1214
"./src/**/*.ts"
1315
]
14-
}
16+
}

0 commit comments

Comments
 (0)