News for hackers. Stuff that matters.
Re:Microsoft Launches Visual Studio Code, a Free Cross-Platf... by stevencl on Thursday April 30, 2015 @07:12AM (#9464310)
Did you add the typescript definition file for node and reference it?

Download the node.d.ts file from the DefinitelyTyped repo https://github.com/borisyankov/DefinitelyTyped then add that file to the folder containing your node app.

Then in the file you are using the http object reference the .d.ts file by adding the following to the top of the file:

/// <reference path="node.d.ts" />

After that you should get intellisense in the file.

There are no comments on this comment yet.