setting up a tsconfig file for a ts project code example Example 1: tsconfig.json not generated $ tsc --init Example 2: create typescript project npx tsc index.ts