Vladyslav Sheruda
Vladyslav Sheruda

Reputation: 1876

Inteliji Idea does not recognize typescript

I use intellij Idea and try to run example of angularjs 2. I install all needed plugins (JavaScript Support and Node.js) but it seems that does not work for me. This is what I see:

enter image description here

Who knows how to solve this problem?

Upvotes: 0

Views: 4643

Answers (2)

billc.cn
billc.cn

Reputation: 7317

The code you have is in TypeScript 1.5. IntelliJ don't support it yet. See https://youtrack.jetbrains.com/issue/WEB-15585

Your only IDE options right now are MS tools (VS/VS Code) or sublime text.

Upvotes: 3

jhuiting
jhuiting

Reputation: 66

--edited, didn't read that well

The problem might be solved with switching to the right Javascript version -> http://blog.jetbrains.com/idea/2012/03/javascript-version-selector/

Upvotes: 1

Related Questions