This document explains the fields set in the tsconfig.json file.
"target": Set the JavaScript language version for emitted JavaScript and include compatible library declarations."experimentalDecorators: Enable experimental support for TC39 stage 2 draft decorators. Refer toreflect-metadatahere for details."emitDecoratorMetadata: Emit design-type metadata for decorated declarations in source files.
"module": Specify what module code is generated.
"sourceMap": Create source map files for emitted JavaScript files."outDir": Specify an output folder for all emitted files."removeComments": Disable emitting comments."noEmitOnError": Disable emitting files if any type checking errors are reported.
"esModuleInterop": Emit additional JavaScript to ease support for importing CommonJS modules. This enablesallowSyntheticDefaultImportsfor type compatibility. This option could be removed when"moduleis set to ES Module."forceConsistentCasingInFileName": Ensure that casing is correct in imports.
"strict": Enable all strict type checking options."noUnusedLocals: Enable error reporting when a local variable isn't read."noUnusedParameters": Raise an error when a function parameter isn't read."noFallthroughCasesInSwitch": Enable error reporting for fallthrough cases in switch statements."noImplicitOverride": Ensure overriding members in derived classes are marked with an override modifier."allowUnusedLabels": Disable error reporting for unused labels."allowUnreachableCode": Disable error reporting for unreachable code.
"skipLibCheck": Skip type checking all .d.ts files. This is set totrueby default.
"include": Specifies a list of glob patterns that match files to be included in compilation.