Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

typescript compiler

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)
Comment

run typescript compiler

npm install -g typescript
tsc --init #reate a tsconfig.json file
tsc --watch # transpile on change in current directory (watch changes)

# in your package.json "compilets-tojs": "npx tsc --project ./",
# you can rename "compilets-tojs" to any shorter name

npm run compilets-tojs
Comment

typerscript online compiler

Try this one:
https://www.typescriptlang.org/play/
Comment

PREVIOUS NEXT
Code Example
Shell :: installing appimage file ubuntu 
Shell :: check go is installed mac 
Shell :: git installing in linux 
Shell :: show services linux 
Shell :: github comment code block new line 
Shell :: heroku error: src refspec master does not match any 
Shell :: batch delete all folders and files 
Shell :: use a specific version of node 
Shell :: install spacemacs 
Shell :: grep if 
Shell :: add key file to ssh 
Shell :: rename github repository command line 
Shell :: how to run git bash from powershell 
Shell :: apache install 
Shell :: get ip address linux 
Shell :: npm install latest available packages 
Shell :: scrapy spider shell from spider 
Shell :: best code editors 2022 
Shell :: install old firefox version ubuntu 
Shell :: material ui icons installation 
Shell :: gradle test 
Shell :: install adminlte 
Shell :: powershell search array 
Shell :: sed up to first match 
Shell :: proxy shell 
Shell :: install dbeaver using snap 
Shell :: watchman installation 
Shell :: creating new branch in git 
Shell :: aternative wget comand 
Shell :: bash sum float numbers 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =