{"componentChunkName":"component---src-templates-handbook-tsx","path":"/docs/handbook/compiler-options.html","result":{"data":{"allSitePage":{"nodes":[{"path":"/dev-404-page/"},{"path":"/docs/handbook/advanced-types.html"},{"path":"/docs/handbook/basic-types.html"},{"path":"/docs/handbook/classes.html"},{"path":"/docs/handbook/compiler-options-in-msbuild.html"},{"path":"/docs/handbook/compiler-options.html"},{"path":"/docs/handbook/configuring-watch.html"},{"path":"/docs/handbook/declaration-merging.html"},{"path":"/docs/handbook/decorators.html"},{"path":"/docs/handbook/enums.html"},{"path":"/docs/handbook/functions.html"},{"path":"/docs/handbook/generics.html"},{"path":"/docs/handbook/integrating-with-build-tools.html"},{"path":"/docs/handbook/interfaces.html"},{"path":"/docs/handbook/iterators-and-generators.html"},{"path":"/docs/handbook/jsdoc-supported-types.html"},{"path":"/docs/handbook/jsx.html"},{"path":"/docs/handbook/literal-types.html"},{"path":"/docs/handbook/mixins.html"},{"path":"/docs/handbook/module-resolution.html"},{"path":"/docs/handbook/modules.html"},{"path":"/docs/handbook/namespaces-and-modules.html"},{"path":"/docs/handbook/namespaces.html"},{"path":"/docs/handbook/nightly-builds.html"},{"path":"/docs/handbook/project-references.html"},{"path":"/docs/handbook/symbols.html"},{"path":"/docs/handbook/"},{"path":"/docs/handbook/triple-slash-directives.html"},{"path":"/docs/handbook/type-checking-javascript-files.html"},{"path":"/docs/handbook/type-compatibility.html"},{"path":"/docs/handbook/type-inference.html"},{"path":"/docs/handbook/unions-and-intersections.html"},{"path":"/docs/handbook/utility-types.html"},{"path":"/docs/handbook/variable-declarations.html"},{"path":"/docs/handbook/writing-declaration-files.html"},{"path":"/docs/handbook/declaration-files/by-example.html"},{"path":"/docs/handbook/declaration-files/consumption.html"},{"path":"/docs/handbook/declaration-files/deep-dive.html"},{"path":"/docs/handbook/declaration-files/do-s-and-don-ts.html"},{"path":"/docs/handbook/declaration-files/introduction.html"},{"path":"/docs/handbook/declaration-files/library-structures.html"},{"path":"/docs/handbook/declaration-files/publishing.html"},{"path":"/docs/handbook/declaration-files/templates.html"},{"path":"/docs/handbook/release-notes/typescript-1-1.html"},{"path":"/docs/handbook/release-notes/typescript-1-3.html"},{"path":"/docs/handbook/release-notes/typescript-1-4.html"},{"path":"/docs/handbook/release-notes/typescript-1-5.html"},{"path":"/docs/handbook/release-notes/typescript-1-6.html"},{"path":"/docs/handbook/release-notes/typescript-1-7.html"},{"path":"/docs/handbook/release-notes/typescript-1-8.html"},{"path":"/docs/handbook/release-notes/typescript-2-0.html"},{"path":"/docs/handbook/release-notes/typescript-2-2.html"},{"path":"/docs/handbook/release-notes/typescript-2-1.html"},{"path":"/docs/handbook/release-notes/typescript-2-3.html"},{"path":"/docs/handbook/release-notes/typescript-2-4.html"},{"path":"/docs/handbook/release-notes/typescript-2-5.html"},{"path":"/docs/handbook/release-notes/typescript-2-6.html"},{"path":"/docs/handbook/release-notes/typescript-2-7.html"},{"path":"/docs/handbook/release-notes/typescript-2-8.html"},{"path":"/docs/handbook/release-notes/typescript-2-9.html"},{"path":"/docs/handbook/release-notes/typescript-3-0.html"},{"path":"/docs/handbook/release-notes/typescript-3-1.html"},{"path":"/docs/handbook/release-notes/typescript-3-2.html"},{"path":"/docs/handbook/release-notes/typescript-3-3.html"},{"path":"/docs/handbook/release-notes/typescript-3-4.html"},{"path":"/docs/handbook/release-notes/typescript-3-5.html"},{"path":"/docs/handbook/release-notes/typescript-3-6.html"},{"path":"/docs/handbook/release-notes/typescript-3-7.html"},{"path":"/docs/handbook/release-notes/typescript-3-8.html"},{"path":"/docs/handbook/asp-net-core.html"},{"path":"/docs/handbook/angular.html"},{"path":"/docs/handbook/dom-manipulation.html"},{"path":"/docs/handbook/gulp.html"},{"path":"/docs/handbook/migrating-from-javascript.html"},{"path":"/docs/handbook/react-&-webpack.html"},{"path":"/docs/handbook/react.html"},{"path":"/docs/handbook/typescript-in-5-minutes-func.html"},{"path":"/docs/handbook/typescript-in-5-minutes.html"},{"path":"/docs/handbook/typescript-in-5-minutes-oop.html"},{"path":"/docs/handbook/typescript-from-scratch.html"},{"path":"/docs/handbook/typescript-tooling-in-5-minutes.html"},{"path":"/docs/handbook/tsconfig-json.html"},{"path":"/docs/handbook/declaration-files/templates/global-modifying-module-d-ts.html"},{"path":"/docs/handbook/declaration-files/templates/global-plugin-d-ts.html"},{"path":"/docs/handbook/declaration-files/templates/global-d-ts.html"},{"path":"/docs/handbook/declaration-files/templates/module-class-d-ts.html"},{"path":"/docs/handbook/declaration-files/templates/module-function-d-ts.html"},{"path":"/docs/handbook/declaration-files/templates/module-plugin-d-ts.html"},{"path":"/docs/handbook/declaration-files/templates/module-d-ts.html"},{"path":"/docs/handbook/release-notes/overview.html"},{"path":"/tsconfig"},{"path":"/en/tsconfig"},{"path":"/ja/tsconfig"},{"path":"/vo/tsconfig"},{"path":"/play"},{"path":"/en/play"},{"path":"/es/play"},{"path":"/vo/play"},{"path":"/zh/play"},{"path":"/ja/play"},{"path":"/play/3-7/fixits/big-number-literals.ts"},{"path":"/play/3-7/fixits/const-to-let.ts"},{"path":"/play/3-7/fixits/infer-from-usage-changes.ts"},{"path":"/play/3-7/syntax-and-messaging/flattened-error-reporting.ts"},{"path":"/play/3-7/syntax-and-messaging/nullish-coalescing.ts"},{"path":"/play/3-7/syntax-and-messaging/optional-chaining.ts"},{"path":"/play/3-7/types-and-code-flow/assertion-functions.ts"},{"path":"/play/3-7/types-and-code-flow/recursive-type-references.ts"},{"path":"/play/3-7/types-and-code-flow/uncalled-function-checks.ts"},{"path":"/play/3-8/breaking-changes/checking-unions-with-index-signatures.ts"},{"path":"/play/3-8/jsdoc-improvements/accessibility-modifiers.js"},{"path":"/play/3-8/syntax-and-messaging/export-modules-from.ts"},{"path":"/play/3-8/syntax-and-messaging/private-class-fields.ts"},{"path":"/play/javascript/external-apis/typescript-with-deno.ts"},{"path":"/play/javascript/external-apis/typescript-with-node.js"},{"path":"/play/javascript/external-apis/typescript-with-web.js"},{"path":"/play/javascript/external-apis/typescript-with-webgl.js"},{"path":"/play/javascript/functions-with-javascript/function-chaining.ts"},{"path":"/play/javascript/functions-with-javascript/generic-functions.ts"},{"path":"/play/javascript/functions-with-javascript/typing-functions.ts"},{"path":"/play/javascript/helping-with-javascript/errors.ts"},{"path":"/play/javascript/helping-with-javascript/quick-fixes.ts"},{"path":"/play/javascript/javascript-essentials/code-flow.ts"},{"path":"/play/javascript/javascript-essentials/functions.ts"},{"path":"/play/javascript/javascript-essentials/hello-world.ts"},{"path":"/play/javascript/javascript-essentials/objects-and-arrays.ts"},{"path":"/play/javascript/modern-javascript/async-await.ts"},{"path":"/play/javascript/modern-javascript/immutability.ts"},{"path":"/play/javascript/modern-javascript/import-export.ts"},{"path":"/play/javascript/modern-javascript/jsdoc-support.js"},{"path":"/play/javascript/working-with-classes/classes-101.ts"},{"path":"/play/javascript/working-with-classes/generic-classes.ts"},{"path":"/play/javascript/working-with-classes/mixins.ts"},{"path":"/play/javascript/working-with-classes/this.ts"},{"path":"/play/playground/config/javascript-playgrounds.js"},{"path":"/play/playground/config/new-compiler-defaults.ts"},{"path":"/play/playground/language/automatic-type-acquisition.ts"},{"path":"/play/playground/language/fixits.ts"},{"path":"/play/playground/tooling/mobile-support.ts"},{"path":"/play/playground/tooling/sharable-urls.ts"},{"path":"/play/playground/tooling/typescript-versions.ts"},{"path":"/play/typescript/language/soundness.ts"},{"path":"/play/typescript/language/structural-typing.ts"},{"path":"/play/typescript/language/type-guards.ts"},{"path":"/play/typescript/language/type-widening-and-narrowing.ts"},{"path":"/play/typescript/language-extensions/enums.ts"},{"path":"/play/typescript/language-extensions/nominal-typing.ts"},{"path":"/play/typescript/language-extensions/types-vs-interfaces.ts"},{"path":"/play/typescript/meta-types/conditional-types.ts"},{"path":"/play/typescript/meta-types/discriminate-types.ts"},{"path":"/play/typescript/meta-types/indexed-types.ts"},{"path":"/play/typescript/meta-types/mapped-types.ts"},{"path":"/play/typescript/primitives/any.ts"},{"path":"/play/typescript/primitives/literals.ts"},{"path":"/play/typescript/primitives/union-and-intersection-types.ts"},{"path":"/play/typescript/primitives/unknown-and-never.ts"},{"path":"/play/typescript/type-primitives/built-in-utility-types.ts"},{"path":"/play/typescript/type-primitives/nullable-types.ts"},{"path":"/play/typescript/type-primitives/tuples.ts"},{"path":"/es/play/javascript/external-apis/typescript-with-deno.ts"},{"path":"/es/play/javascript/external-apis/typescript-with-node.js"},{"path":"/es/play/javascript/external-apis/typescript-with-web.js"},{"path":"/es/play/javascript/functions-with-javascript/function-chaining.ts"},{"path":"/es/play/javascript/functions-with-javascript/generic-functions.ts"},{"path":"/es/play/javascript/javascript-essentials/hello-world.ts"},{"path":"/es/play/javascript/javascript-essentials/objects-and-arrays.ts"},{"path":"/es/play/typescript/type-primitives/built-in-utility-types.ts"},{"path":"/es/play/typescript/type-primitives/nullable-types.ts"},{"path":"/es/play/typescript/type-primitives/tuples.ts"},{"path":"/ja/play/typescript/language-extensions/enums.ts"},{"path":"/ja/play/typescript/language-extensions/nominal-typing.ts"},{"path":"/ja/play/typescript/language-extensions/types-vs-interfaces.ts"},{"path":"/ja/play/typescript/primitives/any.ts"},{"path":"/ja/play/typescript/primitives/literals.ts"},{"path":"/ja/play/typescript/primitives/union-and-intersection-types.ts"},{"path":"/ja/play/typescript/type-primitives/built-in-utility-types.ts"},{"path":"/vo/play/javascript/javascript-essentials/code-flow.ts"},{"path":"/vo/play/javascript/javascript-essentials/functions.ts"},{"path":"/vo/play/javascript/javascript-essentials/hello-world.ts"},{"path":"/vo/play/javascript/javascript-essentials/objects-and-arrays.ts"},{"path":"/zh/play/javascript/external-apis/typescript-with-deno.ts"},{"path":"/zh/play/javascript/external-apis/typescript-with-node.js"},{"path":"/zh/play/javascript/external-apis/typescript-with-web.js"},{"path":"/zh/play/javascript/external-apis/typescript-with-webgl.js"},{"path":"/zh/play/javascript/functions-with-javascript/function-chaining.ts"},{"path":"/zh/play/javascript/functions-with-javascript/generic-functions.ts"},{"path":"/zh/play/javascript/functions-with-javascript/typing-functions.ts"},{"path":"/zh/play/javascript/helping-with-javascript/errors.ts"},{"path":"/zh/play/javascript/helping-with-javascript/quick-fixes.ts"},{"path":"/zh/play/javascript/javascript-essentials/code-flow.ts"},{"path":"/zh/play/javascript/javascript-essentials/functions.ts"},{"path":"/zh/play/javascript/javascript-essentials/hello-world.ts"},{"path":"/zh/play/javascript/modern-javascript/import-export.ts"},{"path":"/zh/play/javascript/modern-javascript/jsdoc-support.js"},{"path":"/zh/play/javascript/working-with-classes/classes-101.ts"},{"path":"/zh/play/javascript/working-with-classes/generic-classes.ts"},{"path":"/zh/play/javascript/working-with-classes/mixins.ts"},{"path":"/zh/play/javascript/working-with-classes/this.ts"},{"path":"/zh/play/playground/config/javascript-playgrounds.js"},{"path":"/zh/play/playground/config/new-compiler-defaults.ts"},{"path":"/zh/play/playground/language/automatic-type-acquisition.ts"},{"path":"/zh/play/playground/language/fixits.ts"},{"path":"/zh/play/playground/tooling/mobile-support.ts"},{"path":"/zh/play/playground/tooling/sharable-urls.ts"},{"path":"/zh/play/playground/tooling/typescript-versions.ts"},{"path":"/zh/play/typescript/language/soundness.ts"},{"path":"/zh/play/typescript/language/structural-typing.ts"},{"path":"/zh/play/typescript/language/type-guards.ts"},{"path":"/zh/play/typescript/language/type-widening-and-narrowing.ts"},{"path":"/zh/play/typescript/language-extensions/enums.ts"},{"path":"/zh/play/typescript/language-extensions/nominal-typing.ts"},{"path":"/zh/play/typescript/language-extensions/types-vs-interfaces.ts"},{"path":"/zh/play/typescript/meta-types/conditional-types.ts"},{"path":"/zh/play/typescript/meta-types/discriminate-types.ts"},{"path":"/zh/play/typescript/meta-types/indexed-types.ts"},{"path":"/zh/play/typescript/meta-types/mapped-types.ts"},{"path":"/zh/play/typescript/primitives/any.ts"},{"path":"/zh/play/typescript/primitives/literals.ts"},{"path":"/zh/play/typescript/primitives/union-and-intersection-types.ts"},{"path":"/zh/play/typescript/primitives/unknown-and-never.ts"},{"path":"/zh/play/typescript/type-primitives/built-in-utility-types.ts"},{"path":"/zh/play/typescript/type-primitives/nullable-types.ts"},{"path":"/zh/play/typescript/type-primitives/tuples.ts"},{"path":"/zh/play/javascript/modern-javascript/immutability.ts"},{"path":"/zh/play/javascript/modern-javascript/async-await.ts"},{"path":"/zh/play/javascript/javascript-essentials/objects-and-arrays.ts"},{"path":"/community"},{"path":"/es/community"},{"path":"/ja/community"},{"path":"/vo/community"},{"path":"/zh/community"},{"path":"/download"},{"path":"/es/download"},{"path":"/ja/download"},{"path":"/vo/download"},{"path":"/zh/download"},{"path":"/empty"},{"path":"/es/empty"},{"path":"/ja/empty"},{"path":"/vo/empty"},{"path":"/zh/empty"},{"path":"/"},{"path":"/es/"},{"path":"/ja/"},{"path":"/vo/"},{"path":"/zh/"},{"path":"/tools"},{"path":"/es/tools"},{"path":"/ja/tools"},{"path":"/vo/tools"},{"path":"/zh/tools"},{"path":"/why-create-typescript"},{"path":"/es/why-create-typescript"},{"path":"/ja/why-create-typescript"},{"path":"/vo/why-create-typescript"},{"path":"/zh/why-create-typescript"},{"path":"/docs/home"},{"path":"/es/docs/home"},{"path":"/ja/docs/home"},{"path":"/vo/docs/home"},{"path":"/zh/docs/home"},{"path":"/dev/playground-plugins/"},{"path":"/dev/sandbox/"},{"path":"/dev/twoslash/"},{"path":"/dev/typescript-vfs/"}]},"markdownRemark":{"id":"3ffb18fe-a4cd-52bd-a82a-729328f1411d","excerpt":"Using the CLI Running tsc locally will compile the closest project defined by a tsconfig.json, you can compile a set of TypeScript\nfiles by passing in a glob of…","html":"<h2 id=\"using-the-cli\" style=\"position:relative;\"><a href=\"#using-the-cli\" aria-label=\"using the cli permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Using the CLI</h2>\n<p>Running <code>tsc</code> locally will compile the closest project defined by a <code>tsconfig.json</code>, you can compile a set of TypeScript\nfiles by passing in a glob of files you want.</p>\n<pre class=\"shiki\"><div class=\"language-id\">sh</div><div class='code-container'><code><span style=\"color: #008000\"># Run a compile based on a backwards look through the fs for a tsconfig.json</span>\n<span style=\"color: #000000\">tsc</span>\n\n<span style=\"color: #008000\"># Transpile just the index.ts with the compiler defaults</span>\n<span style=\"color: #000000\">tsc index.ts</span>\n\n<span style=\"color: #008000\"># Transpile any .ts files in the folder src, with the default settings</span>\n<span style=\"color: #000000\">tsc src/*.ts</span>\n\n<span style=\"color: #008000\"># Transpile any .ts files in the folder src, with the compiler settings from tsconfig.json</span>\n<span style=\"color: #000000\">tsc --project tsconfig.json src/*.ts</span></code></div></pre>\n<h2 id=\"compiler-options\" style=\"position:relative;\"><a href=\"#compiler-options\" aria-label=\"compiler options permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Compiler Options</h2>\n<p>If you’re looking for more information about the compiler options in a tsconfig, check out the TSConfig Reference beta\navailable in <a href=\"https://www.typescriptlang.org/v2/tsconfig\">the v2 site</a>.</p>\n<!-- prettier-ignore -->\n<table>\n<thead>\n<tr>\n<th>Option</th>\n<th>Type</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>--allowJs</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Allow JavaScript files to be compiled.</td>\n</tr>\n<tr>\n<td><code>--allowSyntheticDefaultImports</code></td>\n<td><code>boolean</code></td>\n<td><code>module === \"system\"</code> or <code>--esModuleInterop</code></td>\n<td>Allow default imports from modules with no default export. This does not affect code emit, just typechecking.</td>\n</tr>\n<tr>\n<td><code>--allowUmdGlobalAccess</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Allow accessing UMD globals from modules.</td>\n</tr>\n<tr>\n<td><code>--allowUnreachableCode</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not report errors on unreachable code.</td>\n</tr>\n<tr>\n<td><code>--allowUnusedLabels</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not report errors on unused labels.</td>\n</tr>\n<tr>\n<td><code>--alwaysStrict</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Parse in strict mode and emit <code>\"use strict\"</code> for each source file</td>\n</tr>\n<tr>\n<td><code>--assumeChangesOnlyAffectDirectDependencies</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Have recompiles in ‘—incremental’ and ‘—watch’ assume that changes within a file will only affect files directly depending on it</td>\n</tr>\n<tr>\n<td><code>--baseUrl</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>Base directory to resolve non-relative module names. See <a href=\"./Module%20Resolution.md#base-url\">Module Resolution documentation</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--build</code><br/><code>-b</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Builds this project and all of its dependencies specified by <a href=\"./Project%20References.md\">Project References</a>. Note that this flag is not compatible with others on this page. See more <a href=\"./Project%20References.md\">here</a></td>\n</tr>\n<tr>\n<td><code>--charset</code></td>\n<td><code>string</code></td>\n<td><code>\"utf8\"</code></td>\n<td>The character set of the input files.</td>\n</tr>\n<tr>\n<td><code>--checkJs</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Report errors in <code>.js</code> files. Use in conjunction with <code>--allowJs</code>.</td>\n</tr>\n<tr>\n<td><code>--composite</code></td>\n<td><code>boolean</code></td>\n<td><code>true</code></td>\n<td>Ensure TypeScript can determine where to find the outputs of the referenced project to compile project.</td>\n</tr>\n<tr>\n<td><code>--declaration</code><br/><code>-d</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Generates corresponding <code>.d.ts</code> file.</td>\n</tr>\n<tr>\n<td><code>--declarationDir</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>Output directory for generated declaration files.</td>\n</tr>\n<tr>\n<td><code>--declarationMap</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Generates a sourcemap for each corresponding ‘.d.ts’ file.</td>\n</tr>\n<tr>\n<td><code>--diagnostics</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Show diagnostic information.</td>\n</tr>\n<tr>\n<td><code>--disableSizeLimit</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Disable size limitation on JavaScript project.</td>\n</tr>\n<tr>\n<td><code>--downlevelIteration</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Provide full support for iterables in <code>for..of</code>, spread and destructuring when targeting ES5 or ES3.</td>\n</tr>\n<tr>\n<td><code>--emitBOM</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.</td>\n</tr>\n<tr>\n<td><code>--emitDeclarationOnly</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Only emit ‘.d.ts’ declaration files.</td>\n</tr>\n<tr>\n<td><code>--emitDecoratorMetadata</code><sup>[1]</sup></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Emit design-type metadata for decorated declarations in source. See <a href=\"https://github.com/Microsoft/TypeScript/issues/2577\">issue #2577</a> for details.</td>\n</tr>\n<tr>\n<td><code>--esModuleInterop</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Emit <code>__importStar</code> and <code>__importDefault</code> helpers for runtime babel ecosystem compatibility and enable <code>--allowSyntheticDefaultImports</code> for typesystem compatibility.</td>\n</tr>\n<tr>\n<td><code>--experimentalDecorators</code><sup>[1]</sup></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Enables experimental support for ES decorators.</td>\n</tr>\n<tr>\n<td><code>--extendedDiagnostics</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Show verbose diagnostic information</td>\n</tr>\n<tr>\n<td><code>--forceConsistentCasingInFileNames</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Disallow inconsistently-cased references to the same file.</td>\n</tr>\n<tr>\n<td><code>--generateCpuProfile</code></td>\n<td><code>string</code></td>\n<td><code>profile.cpuprofile</code></td>\n<td>Generates a cpu profile at the given path. Passing an existing directory name instead of a file path will cause a timestamp-named profile to be generated in that directory instead.</td>\n</tr>\n<tr>\n<td><code>--help</code><br/><code>-h</code></td>\n<td></td>\n<td></td>\n<td>Print help message.</td>\n</tr>\n<tr>\n<td><code>--importHelpers</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Import emit helpers (e.g. <code>__extends</code>, <code>__rest</code>, etc..) from <a href=\"https://www.npmjs.com/package/tslib\"><code>tslib</code></a></td>\n</tr>\n<tr>\n<td><code>--incremental</code></td>\n<td><code>boolean</code></td>\n<td><code>true</code> if <code>composite</code> is on, <code>false</code> otherwise</td>\n<td>Enable incremental compilation by reading/writing information from prior compilations to a file on disk. This file is controlled by the <code>--tsBuildInfoFile</code> flag.</td>\n</tr>\n<tr>\n<td><code>--inlineSourceMap</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Emit a single file with source maps instead of having a separate file.</td>\n</tr>\n<tr>\n<td><code>--inlineSources</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Emit the source alongside the sourcemaps within a single file; requires <code>--inlineSourceMap</code> or <code>--sourceMap</code> to be set.</td>\n</tr>\n<tr>\n<td><code>--init</code></td>\n<td></td>\n<td></td>\n<td>Initializes a TypeScript project and creates a <code>tsconfig.json</code> file.</td>\n</tr>\n<tr>\n<td><code>--isolatedModules</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Perform additional checks to ensure that separate compilation (such as with <a href=\"https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function\"><code>transpileModule</code></a> or <a href=\"https://babeljs.io/docs/en/babel-plugin-transform-typescript\">@babel/plugin-transform-typescript</a>) would be safe.</td>\n</tr>\n<tr>\n<td><code>--jsx</code></td>\n<td><code>string</code></td>\n<td><code>\"preserve\"</code></td>\n<td>Support JSX in <code>.tsx</code> files: <code>\"react\"</code>, <code>\"preserve\"</code>, <code>\"react-native\"</code>. See <a href=\"/96354c28a45449c56cd64a585dcff267/JSX.md\">JSX</a>.</td>\n</tr>\n<tr>\n<td><code>--jsxFactory</code></td>\n<td><code>string</code></td>\n<td><code>\"React.createElement\"</code></td>\n<td>Specify the JSX factory function to use when targeting react JSX emit, e.g. <code>React.createElement</code> or <code>h</code>.</td>\n</tr>\n<tr>\n<td><code>--keyofStringsOnly</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Resolve <code>keyof</code> to string valued property names only (no numbers or symbols).</td>\n</tr>\n<tr>\n<td><code>--useDefineForClassFields</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Emit class fields with ECMAScript-standard semantics.</td>\n</tr>\n<tr>\n<td><code>--lib</code></td>\n<td><code>string[]</code></td>\n<td></td>\n<td>List of library files to be included in the compilation.<br/>Possible values are:  <br/>► <code>ES5</code> <br/>► <code>ES6</code> <br/>► <code>ES2015</code> <br/>► <code>ES7</code> <br/>► <code>ES2016</code> <br/>► <code>ES2017</code>  <br/>► <code>ES2018</code> <br/>► <code>ESNext</code> <br/>► <code>DOM</code> <br/>► <code>DOM.Iterable</code> <br/>► <code>WebWorker</code> <br/>► <code>ScriptHost</code> <br/>► <code>ES2015.Core</code> <br/>► <code>ES2015.Collection</code> <br/>► <code>ES2015.Generator</code> <br/>► <code>ES2015.Iterable</code> <br/>► <code>ES2015.Promise</code> <br/>► <code>ES2015.Proxy</code> <br/>► <code>ES2015.Reflect</code> <br/>► <code>ES2015.Symbol</code> <br/>► <code>ES2015.Symbol.WellKnown</code> <br/>► <code>ES2016.Array.Include</code> <br/>► <code>ES2017.object</code> <br/>► <code>ES2017.Intl</code> <br/>► <code>ES2017.SharedMemory</code> <br/>► <code>ES2017.String</code> <br/>► <code>ES2017.TypedArrays</code> <br/>► <code>ES2018.Intl</code> <br/>► <code>ES2018.Promise</code> <br/>► <code>ES2018.RegExp</code> <br/>► <code>ESNext.AsyncIterable</code> <br/>► <code>ESNext.Array</code> <br/>► <code>ESNext.Intl</code> <br/>► <code>ESNext.Symbol</code> <br/><br/> Note: If <code>--lib</code> is not specified a default list of libraries are injected. The default libraries injected are:  <br/> ► For <code>--target ES5</code>: <code>DOM,ES5,ScriptHost</code><br/>  ► For <code>--target ES6</code>: <code>DOM,ES6,DOM.Iterable,ScriptHost</code></td>\n</tr>\n<tr>\n<td><code>--listEmittedFiles</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Print names of generated files part of the compilation.</td>\n</tr>\n<tr>\n<td><code>--listFiles</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Print names of files part of the compilation.</td>\n</tr>\n<tr>\n<td><code>--locale</code></td>\n<td><code>string</code></td>\n<td><em>(platform specific)</em></td>\n<td>The locale to use to show error messages, e.g. en-us. <br/>Possible values are:  <br/>► English (US): <code>en</code> <br/>► Czech: <code>cs</code> <br/>► German: <code>de</code> <br/>► Spanish: <code>es</code> <br/>► French: <code>fr</code> <br/>► Italian: <code>it</code> <br/>► Japanese: <code>ja</code> <br/>► Korean: <code>ko</code> <br/>► Polish: <code>pl</code> <br/>► Portuguese(Brazil): <code>pt-BR</code> <br/>► Russian: <code>ru</code> <br/>► Turkish: <code>tr</code> <br/>► Simplified Chinese: <code>zh-CN</code>  <br/>► Traditional Chinese: <code>zh-TW</code></td>\n</tr>\n<tr>\n<td><code>--mapRoot</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>Specifies the location where debugger should locate map files instead of generated locations. Use this flag if the .map files will be located at run-time in a different location than the .js files. The location specified will be embedded in the sourceMap to direct the debugger where the map files will be located. This flag will not create the specified path and generate the map files in that location. Instead, create a post build step that moves the files to the specified path.</td>\n</tr>\n<tr>\n<td><code>--maxNodeModuleJsDepth</code></td>\n<td><code>number</code></td>\n<td><code>0</code></td>\n<td>The maximum dependency depth to search under node_modules and load JavaScript files. Only applicable with <code>--allowJs</code>.</td>\n</tr>\n<tr>\n<td><code>--module</code><br/><code>-m</code></td>\n<td><code>string</code></td>\n<td><code>target === \"ES3\" or \"ES5\" ? \"CommonJS\" : \"ES6\"</code></td>\n<td>Specify module code generation: <code>\"None\"</code>, <code>\"CommonJS\"</code>, <code>\"AMD\"</code>, <code>\"System\"</code>, <code>\"UMD\"</code>, <code>\"ES6\"</code>, <code>\"ES2015\"</code> or <code>\"ESNext\"</code>.<br/>► Only <code>\"AMD\"</code> and <code>\"System\"</code> can be used in conjunction with <code>--outFile</code>.<br/>► <code>\"ES6\"</code> and <code>\"ES2015\"</code> values may be used when targeting <code>\"ES5\"</code> or lower.</td>\n</tr>\n<tr>\n<td><code>--moduleResolution</code></td>\n<td><code>string</code></td>\n<td><code>module === \"AMD\" or \"System\" or \"ES6\" ? \"Classic\" : \"Node\"</code></td>\n<td>Determine how modules get resolved. Either <code>\"Node\"</code> for Node.js/io.js style resolution, or <code>\"Classic\"</code>. See <a href=\"./Module%20Resolution.md\">Module Resolution documentation</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--newLine</code></td>\n<td><code>string</code></td>\n<td><em>(platform specific)</em></td>\n<td>Use the specified end of line sequence to be used when emitting files: <code>\"crlf\"</code> (windows) or <code>\"lf\"</code> (unix).”</td>\n</tr>\n<tr>\n<td><code>--noEmit</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not emit outputs.</td>\n</tr>\n<tr>\n<td><code>--noEmitHelpers</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not generate custom helper functions like <code>__extends</code> in compiled output.</td>\n</tr>\n<tr>\n<td><code>--noEmitOnError</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not emit outputs if any errors were reported.</td>\n</tr>\n<tr>\n<td><code>--noErrorTruncation</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not truncate error messages.</td>\n</tr>\n<tr>\n<td><code>--noFallthroughCasesInSwitch</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Report errors for fallthrough cases in switch statement.</td>\n</tr>\n<tr>\n<td><code>--noImplicitAny</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Raise error on expressions and declarations with an implied <code>any</code> type.</td>\n</tr>\n<tr>\n<td><code>--noImplicitReturns</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Report an error when not all code paths in function return a value.</td>\n</tr>\n<tr>\n<td><code>--noImplicitThis</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Raise error on <code>this</code> expressions with an implied <code>any</code> type.</td>\n</tr>\n<tr>\n<td><code>--noImplicitUseStrict</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not emit <code>\"use strict\"</code> directives in module output.</td>\n</tr>\n<tr>\n<td><code>--noLib</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not include the default library file (<code>lib.d.ts</code>).</td>\n</tr>\n<tr>\n<td><code>--noResolve</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not add triple-slash references or module import targets to the list of compiled files.</td>\n</tr>\n<tr>\n<td><code>--noStrictGenericChecks</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Disable strict checking of generic signatures in function types.</td>\n</tr>\n<tr>\n<td><code>--noUnusedLocals</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Report errors on unused locals.</td>\n</tr>\n<tr>\n<td><code>--noUnusedParameters</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Report errors on unused parameters.</td>\n</tr>\n<tr>\n<td><del><code>--out</code></del></td>\n<td><code>string</code></td>\n<td></td>\n<td>DEPRECATED. Use <code>--outFile</code> instead.</td>\n</tr>\n<tr>\n<td><code>--outDir</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>Redirect output structure to the directory.</td>\n</tr>\n<tr>\n<td><code>--outFile</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>Concatenate and emit output to single file. The order of concatenation is determined by the list of files passed to the compiler on the command line along with triple-slash references and imports. See <a href=\"https://github.com/Microsoft/TypeScript/wiki/FAQ#how-do-i-control-file-ordering-in-combined-output---out-\">output file order documentation</a> for more details.</td>\n</tr>\n<tr>\n<td><code>paths</code><sup>[2]</sup></td>\n<td><code>Object</code></td>\n<td></td>\n<td>List of path mapping entries for module names to locations relative to the <code>baseUrl</code>. See <a href=\"./Module%20Resolution.md#path-mapping\">Module Resolution documentation</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--preserveConstEnums</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not erase const enum declarations in generated code. See <a href=\"https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#94-constant-enum-declarations\">const enums documentation</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--preserveSymlinks</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Do not resolve symlinks to their real path; treat a symlinked file like a real one.</td>\n</tr>\n<tr>\n<td><code>--preserveWatchOutput</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Keep outdated console output in watch mode instead of clearing the screen</td>\n</tr>\n<tr>\n<td><code>--pretty</code></td>\n<td><code>boolean</code></td>\n<td><code>true</code> unless piping to another program or redirecting output to a file</td>\n<td>Stylize errors and messages using color and context.</td>\n</tr>\n<tr>\n<td><code>--project</code><br/><code>-p</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>Compile a project given a valid configuration file.<br/>The argument can be a file path to a valid JSON configuration file, or a directory path to a directory containing a <code>tsconfig.json</code> file.<br/>See <a href=\"./tsconfig.json.md\">tsconfig.json</a> documentation for more details.</td>\n</tr>\n<tr>\n<td><code>--reactNamespace</code></td>\n<td><code>string</code></td>\n<td><code>\"React\"</code></td>\n<td>DEPRECATED. Use <code>--jsxFactory</code> instead.<br/>Specifies the object invoked for <code>createElement</code> and <code>__spread</code> when targeting <code>\"react\"</code> JSX emit.</td>\n</tr>\n<tr>\n<td><code>--removeComments</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Remove all comments except copy-right header comments beginning with <code>/*!</code></td>\n</tr>\n<tr>\n<td><code>--resolveJsonModule</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Include modules imported with <code>.json</code> extension.</td>\n</tr>\n<tr>\n<td><code>--rootDir</code></td>\n<td><code>string</code></td>\n<td><em>(common root directory is computed from the list of input files)</em></td>\n<td>Specifies the root directory of input files. Only use to control the output directory structure with <code>--outDir</code>.</td>\n</tr>\n<tr>\n<td><code>rootDirs</code><sup>[2]</sup></td>\n<td><code>string[]</code></td>\n<td></td>\n<td>List of <i>root</i> folders whose combined content represent the structure of the project at runtime. See <a href=\"./Module%20Resolution.md#virtual-directories-with-rootdirs\">Module Resolution documentation</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--showConfig</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Rather than actually execute a build with the other input options and config files, show the final implied config file in the output.</td>\n</tr>\n<tr>\n<td><code>--skipDefaultLibCheck</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>DEPRECATED. Use <code>--skipLibCheck</code> instead.<br/>Skip type checking of <a href=\"./Triple-Slash%20Directives.md#-reference-no-default-libtrue\">default library declaration files</a>.</td>\n</tr>\n<tr>\n<td><code>--skipLibCheck</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Skip type checking of all declaration files (<code>*.d.ts</code>).</td>\n</tr>\n<tr>\n<td><code>--sourceMap</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Generates corresponding <code>.map</code> file.</td>\n</tr>\n<tr>\n<td><code>--sourceRoot</code></td>\n<td><code>string</code></td>\n<td></td>\n<td>Specifies the location where debugger should locate TypeScript files instead of source locations. Use this flag if the sources will be located at run-time in a different location than that at design-time. The location specified will be embedded in the sourceMap to direct the debugger where the source files will be located.</td>\n</tr>\n<tr>\n<td><code>--strict</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Enable all strict type checking options. <br/>Enabling <code>--strict</code> enables <code>--noImplicitAny</code>, <code>--noImplicitThis</code>, <code>--alwaysStrict</code>, <code>--strictBindCallApply</code>, <code>--strictNullChecks</code>, <code>--strictFunctionTypes</code> and <code>--strictPropertyInitialization</code>.</td>\n</tr>\n<tr>\n<td><code>--strictBindCallApply</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Enable stricter checking of the <code>bind</code>, <code>call</code>, and <code>apply</code> methods on functions.</td>\n</tr>\n<tr>\n<td><code>--strictFunctionTypes</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Disable bivariant parameter checking for function types.</td>\n</tr>\n<tr>\n<td><code>--strictPropertyInitialization</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Ensure non-undefined class properties are initialized in the constructor. This option requires <code>--strictNullChecks</code> be enabled in order to take effect.</td>\n</tr>\n<tr>\n<td><code>--strictNullChecks</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>In strict null checking mode, the <code>null</code> and <code>undefined</code> values are not in the domain of every type and are only assignable to themselves and <code>any</code> (the one exception being that <code>undefined</code> is also assignable to <code>void</code>).</td>\n</tr>\n<tr>\n<td><code>--suppressExcessPropertyErrors</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Suppress excess property checks for object literals.</td>\n</tr>\n<tr>\n<td><code>--suppressImplicitAnyIndexErrors</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Suppress <code>--noImplicitAny</code> errors for indexing objects lacking index signatures. See <a href=\"https://github.com/Microsoft/TypeScript/issues/1232#issuecomment-64510362\">issue #1232</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--target</code><br/><code>-t</code></td>\n<td><code>string</code></td>\n<td><code>\"ES3\"</code></td>\n<td>Specify ECMAScript target version: <br/>► <code>\"ES3\"</code> (default) <br/>► <code>\"ES5\"</code> <br/>► <code>\"ES6\"</code>/<code>\"ES2015\"</code> <br/>► <code>\"ES2016\"</code> <br/>► <code>\"ES2017\"</code> <br/>► <code>\"ES2018\"</code> <br/>► <code>\"ES2019\"</code> <br/>► <code>\"ES2020\"</code> <br/>► <code>\"ESNext\"</code><br/><br/> Note: <code>\"ESNext\"</code> targets latest supported <a href=\"https://github.com/tc39/proposals\">ES proposed features</a>.</td>\n</tr>\n<tr>\n<td><code>--traceResolution</code></td>\n<td><code>boolean</code></td>\n<td><code>false</code></td>\n<td>Report module resolution log messages.</td>\n</tr>\n<tr>\n<td><code>--tsBuildInfoFile</code></td>\n<td><code>string</code></td>\n<td><code>.tsbuildinfo</code></td>\n<td>Specify what file to store incremental build information in.</td>\n</tr>\n<tr>\n<td><code>--types</code></td>\n<td><code>string[]</code></td>\n<td></td>\n<td>List of names of type definitions to include. See <a href=\"./tsconfig.json.md#types-typeroots-and-types\">@types, —typeRoots and —types</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--typeRoots</code></td>\n<td><code>string[]</code></td>\n<td></td>\n<td>List of folders to include type definitions from. See <a href=\"./tsconfig.json.md#types-typeroots-and-types\">@types, —typeRoots and —types</a> for more details.</td>\n</tr>\n<tr>\n<td><code>--version</code><br/><code>-v</code></td>\n<td></td>\n<td></td>\n<td>Print the compiler’s version.</td>\n</tr>\n<tr>\n<td><code>--watch</code><br/><code>-w</code></td>\n<td></td>\n<td></td>\n<td>Run the compiler in watch mode. Watch input files and trigger recompilation on changes. The implementation of watching files and directories can be configured using environment variable. See <a href=\"./Configuring%20Watch.md\">configuring watch</a> for more details.</td>\n</tr>\n</tbody>\n</table>\n<ul>\n<li><sup>[1]</sup> These options are experimental.</li>\n<li><sup>[2]</sup> These options are only allowed in <code>tsconfig.json</code>, and not through command-line switches.</li>\n</ul>\n<h2 id=\"related\" style=\"position:relative;\"><a href=\"#related\" aria-label=\"related permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Related</h2>\n<ul>\n<li>Setting compiler options in <a href=\"./tsconfig.json.md\"><code>tsconfig.json</code></a> files.</li>\n<li>Setting compiler options in <a href=\"./Compiler%20Options%20in%20MSBuild.md\">MSBuild projects</a>.</li>\n</ul>","headings":[{"value":"Using the CLI","depth":2},{"value":"Compiler Options","depth":2},{"value":"Related","depth":2}],"frontmatter":{"permalink":"/docs/handbook/compiler-options.html","title":"Compiler Options"}}},"pageContext":{"slug":"/docs/handbook/compiler-options.html","isOldHandbook":true}}}