Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to install typescript

npm install -g typescript

tsc --init # creates a tsconfig.json file

tsc # transpile every file in the current directory
tsc index.ts # transpile a specific file
tsc --watch # transpile on change in current directory (watch changes)
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #install #typescript
ADD COMMENT
Topic
Name
1+5 =