I am working in the context of Visual Studio 2015 (with Resharper), and am referencing a TypeScript definitions file for NodeJS. I have 3 other VS projects that are using node.d.ts
without problems. In this new project, however, I now have 146 errors saying the same thing:
"Typescript Feature 1.5. Current language level is 1.4".
For the life of me, I can't figure out how to tell Visual Studio (or Resharper?) to use the latest TypeScript language version.
I've tried: Tools > Options > Typescript > Project > General > ECMAScript6 (selected) and it didn't work.
Also:
npm install -g typescript
and it didn't work as well.
How do I tell VS to use Typescript 1.5.3 (which node.d.td
is asking for)?