create tsconfig.json file code example Example 1: tsc init tsc --init npx tsc --init Example 2: tsconfig.json not generated $ tsc --init