Skip to content

Commit 3da932e

Browse files
authored
Update nodejs.md
1 parent 5dc9ec0 commit 3da932e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/quick/nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ TypeScript has had *first class* support for NodeJS since inception. Here's how
66
1. Setup a nodejs project `package.json`. Quick one : `npm init -y`
77
1. Add TypeScript (`npm install typescript --save-dev`)
88
1. Add `node.d.ts` (`npm install @types/node --save-dev`)
9-
1. Init a `tsconfig.json` for TypeScript options (`node ./node_modules/.bin/tsc --init`)
9+
1. Init a `tsconfig.json` for TypeScript options (`node ./node_modules/typescript/lib/tsc --init`)
1010

1111
That's it! Fire up your IDE (e.g. `alm -o`) and play around. Now you can use all the built in node modules (e.g. `import fs = require('fs')`) with all the safety and developer ergonomics of TypeScript!
1212

0 commit comments

Comments
 (0)