Ensure you have TypeScript installed globally using this command:
npm install -g typescript
This outlines how to setup a new TypeScript project with mocha support.
| /*! | |
| * Gollum - 1.0.0-2-g7afb5e9 | |
| * Copyright (c) 2012 Norman Xu <[email protected]> | |
| * Licensed MIT | |
| */ | |
| /** | |
| * @class Gollum | |
| * Load script under sandboxed execution context to isolate unsafe code. |
| === debug test-c-ares === | |
| Path: simple/test-c-ares | |
| C:\node\test\simple\test-c-ares.js:46 | |
| if (error) throw error; | |
| ^ | |
| Error: getaddrinfo ENOENT | |
| at errnoException (dns.js:31:11) | |
| at Object.onanswer [as oncomplete] (dns.js:140:16) | |
| Command: C:\node\Debug\node.exe C:\node\test\simple\test-c-ares.js | |
| === debug test-child-process-double-pipe === |