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