Run Beta TypeScript for Angular2 in Intellij Idea
I am following angular (2.0) tutorial and I am running the following commands:
npm install -g typescript@^1.5.0-beta
But in Intellij Idea the TypeScript compiler is not working correctly
So, in the command line options, I try to add
-m commonjs -t es5 --emitDecoratorMetadata
or
--target es5
But I have the same problem. My only solution at the moment is to manually run:
tsc --watch -m commonjs -t es5 --emitDecoratorMetadata app.ts
So my question is:
Is there a solution to run a beta TypeScript for Angular2 in Intellij Idea?
+3
source to share