Auto-Complete and typescript compiler are not working on angular-2 files generated with angular-cli.

I just created a project to start playing with angular-2.

I used angular-cli to generate everything and "ng build" is compiling my typescript OK and everything seems to work fine when I run "ng serve"

But in Webstorm, nothing works:

  • TypeScript compiler is complaining about a lot of things that it cannot find in Angular Core (and elsewhere) like Promise, Map, ...
  • Auto-Complete does not work either. 

When I use Visual Code, Intellisense works right out of the box. 

Am I missing something ?

Thank you

 

 

 

0
1 comment

What Angular 2 version do you use? May be related to https://youtrack.jetbrains.com/issue/WEB-21541

0

Please sign in to leave a comment.