Why do AngularJS directives (attributes, etc.) show up as “invalid” in WebStorm 8?

前端 未结 4 1280
时光说笑
时光说笑 2021-02-13 23:42

I just installed WebStorm 8 a couple of hours ago. I\'ve been writing some AngularJS stuff, and I have a rather annoying little problem. The AngularJS plugin seems to work parti

4条回答
  •  臣服心动
    2021-02-14 00:43

    To resolve this in IntelliJ I downloaded the angular library.

    These are the steps.

    To add a TypeScript definition file for a library or framework you use, go to Preferences | Languages & Frameworks | JavaScript | Libraries – click Download and search for the library you need by typing its name, then hit Download again.

提交回复
热议问题