As basarat says in his answer, you need to include the definitions manually. The easiest way to do this is with tsd. Once installed (npm install -g tsd
), navigate to the directory you want to hold the typings, and install definition files (such as angular, in the following example) like this:
tsd query angular --action install
or, better yet:
tsd init
tsd query angular --save --action install
Note that you can do all this within Webstorm (alt-F12 opens a terminal window).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…