News for hackers. Stuff that matters.
Re:Microsoft puts its spin on JavaScript with TypeScript by phasevar on Monday June 24, 2013 @03:03PM (#5934946)
Has anyone used TypeScript in conjunction with Node.js? I love developing in the Node ecosystem, but the lack of type checking is irritating.
Re:Microsoft puts its spin on JavaScript with TypeScript by jschrf on Monday June 24, 2013 @03:46PM (#5935210)
I haven't worked with Node myself, but you can find a definition file here: https://github.com/borisyankov/DefinitelyTyped/tree/master/n...

Fly at it, I say.

Re:Microsoft puts its spin on JavaScript with TypeScript by agilebyte on Monday June 24, 2013 @06:55PM (#5936280)
Yes. Microsoft offers a Node.js v0.8.8 definition file in their examples. There are some others floating on Github for other versions.

I use WebStorm to give me autocomplete for the version of Node I am running. The defs are there just to make the compiler shut up.