I am trying to get my first TypeScript and DefinitelyTyped Node.js application up and running, and running into some errors.
I am getting the error \"TS2304: Cannot
I couldn't get the 'require' error to go away by using any of the tricks above.
But I found out that the issue was that my TypeScript tools for Visual Studio where an old version (1.8.6.0) and the latest version as of today is (2.0.6.0).
You can download the latest version of the tools from:
TypeScript for Visual Studio 2015