typescript-dive-into
yarn global add typescript
tsc index.ts
➜ typescript-dive-into git:(main) ✗ tsc
➜ typescript-dive-into git:(main) ✗ pwd
/Users/heidsoft/work/typescript-dive-into
➜ typescript-dive-into git:(main) ✗ ls
LICENSE README.md dist src tsconfig.json
➜ typescript-dive-into git:(main) ✗
"inlineSourceMap": true,
➜ typescript-dive-into git:(main) ✗ tsc --watch
typescript-dive-into git:(main) ✗ tsc --init
Created a new tsconfig.json with:
TS
target: es2016
module: commonjs
strict: true
esModuleInterop: true
skipLibCheck: true
forceConsistentCasingInFileNames: true
You can learn more at https://aka.ms/tsconfig.json