简体   繁体   中英

getting typescript to work with visual studio 2015 rc?

trying to code angularjs in typescript in vs 2015 rc

  • after install web essential, there is not side by side typescript and javascript pane anymore
  • after adding angularjs definite type nu-get package, can't get IntelliSense for 'angular'

anything wrong?

To get IntelliSense for 'angular' you need also to include a reference to the DefinitelyTyped package in your file:

/// <reference path="angular.d.ts" />'

Check the README that came with the package, or this link for further reading: https://github.com/borisyankov/DefinitelyTyped/tree/master/angularjs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM