Install typings for dependencies

Install typings for dependencies

Angular 2 includes es6-shim for Promise support, but TypeScript still needs the types. Open a command prompt, then change directory to the app source:

cd C:\Users\<you>\Documents\Visual Studio 2015\Projects\<app>\src\<app>
npm install -g typings
typings install --global dt~es6-shim
doc_TypeScript
2016-10-04 19:25:19
Comments
Leave a Comment

Please login to continue.