In case it could be useful my tsconfig.
Switching target from es2017 to es5 magically solve the issue (only es5,
not es6 or es2015).
{
"compilerOptions": {
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"noEmitHelpers": false,
"strictNullChecks": false,
"baseUrl": "./src",
"declaration": false,
"paths": {},
"lib": ["es6", "es2015", "dom"],
"types": [
"hammerjs",
"jasmine",
"node",
"selenium-webdriver",
"source-map",
"uglify-js",
"webpack",
"localforage"
]
},
"exclude": [
"node_modules",
"dist",
"typings",
"docs"
],
"awesomeTypescriptLoaderOptions": {
"forkChecker": true,
"useWebpackText": true
},
"compileOnSave": false,
"buildOnSave": false,
"atom": {
"rewriteTsconfig": false
},
"angularCompilerOptions": {
"genDir": "compiled"
}
}
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.