How-to-simply...

Detect TypeScript references in Visual Studio

  • 1 Add common _references.ts file with content:
    ///<reference path="../Scripts/typings/angularjs/angular.d.ts"/>
  • 2 Add reference to _references.ts at the beginning of each *.ts file
  • 3 ///<reference path="../_references.ts"/>

References