I donโt know if you found the answer to this Alex, but the mentioned question / answer in the LDL comments gives the answer submitted by Shrikant Injarapu,
Here's the answer, just in case, if someone doesnโt want to follow this link:
If you are targeting ES5, add "node_modules / typescript / lib / lib.es6.d.ts" to the tsconfig.json file:
{ "compilerOptions": { "module": "commonjs", "target": "es5", "noImplicitAny": false, "outDir": "built", "rootDir": ".", "sourceMap": false }, "files": [ "helloworld.ts", "node_modules/typescript/lib/lib.es6.d.ts" ], "exclude": [ "node_modules" ] }
EDIT
In my application, I use webpack to create my application, and I still get the same errors that spit out on the console. I am currently looking to fix this and will report on what I find.
source share