using TS 2.0 Beta I can't get the new @types working. somewhere in my code:
import * as angular from 'angular';
TS 2.0 @types:
npm install --save @types/angular
tsc
the compiler doesn't find the d.ts files though: Error:(1, 26) TS2307: Cannot find module 'angular'.
no issues with current (old) method of using the typings tool and global (before ambient) dependencies.
I expected the d.ts lookup to work automatically with 2.0 as described here:
https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/
perhaps I am missing something?
typescriptwithtsc --version? - ligaz