WebStorm - “angular” is not defined

后端 未结 5 2103
庸人自扰
庸人自扰 2021-02-05 07:10

NOTE: This is a WebStorm issue, not an angular.js issue.

Screencast of the problem: http://f.cl.ly/items/302s0d1k1i3i1B2p0W09/ws703-angular-not-defined.mp4

Descr

5条回答
  •  青春惊慌失措
    2021-02-05 07:46

    In

    Webstorm settings > JavaScript > Code Quality Tools > JSHint 
    

    there is "Predefined" line. Click on "Set" next to it. Here you can add all your predefined variables.

提交回复
热议问题