My project was compiling fine under 1.7 using the typescript project type (in visual studio 2015)
I installed 1.8 and now I get a whole bunch of cannot find name... and cannot find module ... errors.
For example I get Cannot find name 'breeze'.
But if I add this to the file:
/// <reference path="../../../scripts/typings/breeze/breeze.d.ts" />
Then they all go away... (well the breeze ones do)
But I did not need those to compile before I upgraded.
Does anyone understand what is going on here?
What you need to do is look into
typings.https://github.com/typings/typings
You should be able to install
breezeeasily with it.Besides that, VS should be able to automatically see all your
.d.tsDefinitelyTyped files, if not just make sure yourtsconfig.jsonincludes all/yourAppPath/*.tsfiles in its filesGlob array, that should take care of it as well.Lastly, some IDEs recognize a
_references.tsfile, where you could include all your reference incudes/// <reference path="blah.d.ts" />