Skip to content

Commit 8a1560b

Browse files
committed
use new practice better emit helpers
1 parent b8a740f commit 8a1560b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

jspm.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ SystemJS.config({
146146
"preserveConstEnums": true,
147147
"removeComments": true,
148148
"typeCheck": false,
149-
"tsconfig": false
149+
"tsconfig": false,
150+
"noEmitHelpers": true,
151+
"importHelpers": true
150152
},
151153
packages: {
152154
"app": {
@@ -552,4 +554,4 @@ SystemJS.config({
552554
}
553555
}
554556
}
555-
});
557+
});

src/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"allowJs": false,
1717
"allowSyntheticDefaultImports": false,
1818
"noEmitOnError": true,
19-
"noEmitHelpers": false,
20-
"importHelpers": false,
19+
"noEmitHelpers": true,
20+
"importHelpers": true,
2121
"experimentalDecorators": true,
2222
"emitDecoratorMetadata": true,
2323
"pretty": true,

0 commit comments

Comments
 (0)