8 ms·
Has anyone used TypeScript in conjunction with Node.js? I love developing in the Node ecosystem, but the lack of type checking is irritating.
by phasevar 13y ago
Has anyone used TypeScript in conjunction with Node.js? I love developing in the Node ecosystem, but the lack of type checking is irritating.
- jschrf 13y agoI haven't worked with Node myself, but you can find a definition file here: https://github.com/borisyankov/DefinitelyTyped/tree/master/node https://github.com/borisyankov/DefinitelyTyped/tree/master/n... Fly at it, I say.
- agilebyte 13y agoYes. 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.