Skip to content

Commit 6ab0ab0

Browse files
committed
Merge pull request #14 from NativeScript/hdeshev/angular-tsconfig
Auto-add Angular compiler options
2 parents 54b7152 + 74d74f6 commit 6ab0ab0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-dev-typescript",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "TypeScript support for NativeScript projects. Install using `tns install typescript`.",
55
"scripts": {
66
"test": "exit 0",

postinstall.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ function createTsconfig() {
3737
target: "es5",
3838
sourceMap: true,
3939
experimentalDecorators: true,
40+
emitDecoratorMetadata: true,
4041
noEmitHelpers: true,
42+
noEmitOnError: true,
4143
};
4244

4345
tsconfig.exclude = ['node_modules', 'platforms'];

0 commit comments

Comments
 (0)