A tsconfig.json file tells the TypeScript compiler which files to compile, which types to include, how strictly to check them, whether to emit JavaScript, and which ECMAScript version to target. section 2.1.1
$ npx tsc --init Created a new tsconfig.json with: target: es2016 module: commonjs strict: true esModuleInterop: true skipLibCheck: true forceConsistentCasingInFileNames: true
Generate a starter configuration with `npx tsc --init`; its shown defaults include ES2016, CommonJS, and strict checking. section 2.1.1
Without overrides, `tsc` checks and compiles all `.ts` files in the project. A type error does not prevent JavaScript emission: the faulty `setTimeout(200, ...)` example still produces output. section 2.1.1
JavaScript files checked with `@ts-check` can receive editor type feedback without being included in the build defined by tsconfig.json. section 2.2.1

