OptionalallowArbitraryExtensions?: boolean | nullEnable importing files with any extension, provided a declaration file is present.
OptionalallowImportingTsExtensions?: boolean | nullAllow imports to include TypeScript file extensions. Requires --moduleResolution bundler and either --noEmit or --emitDeclarationOnly to be set.
OptionalallowJs?: boolean | nullAllow JavaScript files to be a part of your program. Use the checkJs option to get errors from these files.
OptionalallowSyntheticDefaultImports?: boolean | nullAllow import x from y when a module doesn't have a default export.
OptionalallowUmdGlobalAccess?: boolean | nullAllow accessing UMD globals from modules.
OptionalallowUnreachableCode?: boolean | nullDisable error reporting for unreachable code.
OptionalallowUnusedLabels?: boolean | nullDisable error reporting for unused labels.
OptionalalwaysStrict?: boolean | nullEnsure use strict is always emitted.
OptionalassumeChangesOnlyAffectDirectDependencies?: boolean | nullHave recompiles in projects that use incremental and watch mode assume that changes within a file will only affect files directly depending on it.
OptionalbaseUrl?: string | nullSpecify the base directory to resolve non-relative module names.
Optionalcharset?: string | nullNo longer supported. In early versions, manually set the text encoding for reading files.
OptionalcheckJs?: boolean | nullEnable error reporting in type-checked JavaScript files.
Optionalcomposite?: boolean | nullEnable constraints that allow a TypeScript project to be used with project references.
OptionalcustomConditions?: string[] | nullConditions to set in addition to the resolver-specific defaults when resolving imports.
Optionaldeclaration?: boolean | nullGenerate .d.ts files from TypeScript and JavaScript files in your project.
OptionaldeclarationDir?: string | nullSpecify the output directory for generated declaration files.
OptionaldeclarationMap?: boolean | nullCreate sourcemaps for d.ts files.
Optionaldiagnostics?: boolean | nullOutput compiler performance information after building.
OptionaldisableReferencedProjectLoad?: boolean | nullReduce the number of projects loaded automatically by TypeScript.
OptionaldisableSizeLimit?: boolean | nullRemove the 20mb cap on total source code size for JavaScript files in the TypeScript language server.
OptionaldisableSolutionSearching?: boolean | nullOpt a project out of multi-project reference checking when editing.
OptionaldisableSourceOfProjectReferenceRedirect?: boolean | nullDisable preferring source files instead of declaration files when referencing composite projects.
OptionaldownlevelIteration?: boolean | nullEmit more compliant, but verbose and less performant JavaScript for iteration.
OptionalemitBOM?: boolean | nullEmit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
OptionalemitDeclarationOnly?: boolean | nullOnly output d.ts files and not JavaScript files.
OptionalemitDecoratorMetadata?: boolean | nullEmit design-type metadata for decorated declarations in source files.
OptionalerasableSyntaxOnly?: boolean | nullDo not allow runtime constructs that are not part of ECMAScript.
OptionalesModuleInterop?: boolean | nullEmit additional JavaScript to ease support for importing CommonJS modules. This enables allowSyntheticDefaultImports for type compatibility.
OptionalexactOptionalPropertyTypes?: boolean | nullInterpret optional property types as written, rather than adding undefined.
OptionalexperimentalDecorators?: boolean | nullEnable experimental support for legacy experimental decorators.
OptionalextendedDiagnostics?: boolean | nullOutput more detailed compiler performance information after building.
OptionalfallbackPolling?: Specify the polling strategy to use when the system runs out of or doesn't support native file watchers. Requires TypeScript version 3.8 or later.
OptionalforceConsistentCasingInFileNames?: boolean | nullEnsure that casing is correct in imports.
OptionalgenerateCpuProfile?: string | nullEmit a v8 CPU profile of the compiler run for debugging.
OptionalimportHelpers?: boolean | nullAllow importing helper functions from tslib once per project, instead of including them per-file.
OptionalimportsNotUsedAsValues?: "remove" | "preserve" | "error"Specify emit/checking behavior for imports that are only used for types.
Optionalincremental?: boolean | nullEnable incremental compilation. Requires TypeScript version 3.4 or later.
OptionalinlineSourceMap?: boolean | nullInclude sourcemap files inside the emitted JavaScript.
OptionalinlineSources?: boolean | nullInclude source code in the sourcemaps inside the emitted JavaScript.
OptionalisolatedDeclarations?: boolean | nullRequire sufficient annotation on exports so other tools can trivially generate declaration files.
OptionalisolatedModules?: boolean | nullEnsure that each file can be safely transpiled without relying on other imports.
Optionaljsx?: "preserve" | "react" | "react-jsx" | "react-jsxdev" | "react-native"Specify what JSX code is generated.
OptionaljsxFactory?: string | nullSpecify the JSX factory function used when targeting React JSX emit, e.g. React.createElement or h.
OptionaljsxFragmentFactory?: string | nullSpecify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. React.Fragment or Fragment.
OptionaljsxImportSource?: string | nullSpecify module specifier used to import the JSX factory functions when using jsx: react-jsx.
OptionalkeyofStringsOnly?: boolean | nullMake keyof only return strings instead of string, numbers or symbols. Legacy option.
Optionallib?: Specify a set of bundled library declaration files that describe the target runtime environment.
OptionallibReplacement?: boolean | nullEnable lib replacement.
OptionallistEmittedFiles?: boolean | nullPrint the names of emitted files after a compilation.
OptionallistFiles?: boolean | nullPrint all of the files read during the compilation.
OptionallistFilesOnly?: boolean | nullPrint names of files that are part of the compilation and then stop processing.
OptionalmapRoot?: string | nullSpecify the location where debugger should locate map files instead of generated locations.
OptionalmaxNodeModuleJsDepth?: number | nullSpecify the maximum folder depth used for checking JavaScript files from node_modules. Only applicable with allowJs.
Optionalmodule?: (Specify what module code is generated.
OptionalmoduleDetection?: "auto" | "legacy" | "force"Control what method is used to detect module-format JS files.
OptionalmoduleResolution?: (Specify how TypeScript looks up a file from a given module specifier.
OptionalmoduleSuffixes?: string[] | nullList of file name suffixes to search when resolving a module.
OptionalnewLine?: ("crlf" | "lf" | { [k: string]: unknown }) & (Set the newline character for emitting files.
OptionalnoCheck?: boolean | nullDisable full type checking (only critical parse and emit errors will be reported).
OptionalnoEmit?: boolean | nullDisable emitting files from a compilation.
OptionalnoEmitHelpers?: boolean | nullDisable generating custom helper functions like __extends in compiled output.
OptionalnoEmitOnError?: boolean | nullDisable emitting files if any type checking errors are reported.
OptionalnoErrorTruncation?: boolean | nullDisable truncating types in error messages.
OptionalnoFallthroughCasesInSwitch?: boolean | nullEnable error reporting for fallthrough cases in switch statements.
OptionalnoImplicitAny?: boolean | nullEnable error reporting for expressions and declarations with an implied any type.
OptionalnoImplicitOverride?: boolean | nullEnsure overriding members in derived classes are marked with an override modifier.
OptionalnoImplicitReturns?: boolean | nullEnable error reporting for codepaths that do not explicitly return in a function.
OptionalnoImplicitThis?: boolean | nullEnable error reporting when this is given the type any.
OptionalnoImplicitUseStrict?: boolean | nullDisable adding use strict directives in emitted JavaScript files.
OptionalnoLib?: boolean | nullDisable including any library files, including the default lib.d.ts.
OptionalnoPropertyAccessFromIndexSignature?: boolean | nullEnforces using indexed accessors for keys declared using an indexed type.
OptionalnoResolve?: boolean | nullDisallow imports, requires or <reference>s from expanding the number of files TypeScript should add to a project.
OptionalnoStrictGenericChecks?: boolean | nullDisable strict checking of generic signatures in function types.
OptionalnoUncheckedIndexedAccess?: boolean | nullAdd undefined to a type when accessed using an index.
OptionalnoUncheckedSideEffectImports?: boolean | nullCheck side effect imports.
OptionalnoUnusedLocals?: boolean | nullEnable error reporting when local variables aren't read.
OptionalnoUnusedParameters?: boolean | nullRaise an error when a function parameter isn't read.
Optionalout?: string | nullDeprecated setting. Use outFile instead.
OptionaloutDir?: string | nullSpecify an output folder for all emitted files.
OptionaloutFile?: string | nullSpecify a file that bundles all outputs into one JavaScript file. If declaration is true, also designates a file that bundles all .d.ts output.
Optionalpaths?: { [k: string]: string[] } | nullSpecify a set of entries that re-map imports to additional lookup locations.
Optionalplugins?: { name?: string }[] | nullSpecify a list of language service plugins to include.
OptionalpreserveConstEnums?: boolean | nullDisable erasing const enum declarations in generated code.
OptionalpreserveSymlinks?: boolean | nullDisable resolving symlinks to their realpath. This correlates to the same flag in node.
OptionalpreserveValueImports?: boolean | nullPreserve unused imported values in the JavaScript output that would otherwise be removed.
OptionalpreserveWatchOutput?: boolean | nullDisable wiping the console in watch mode.
Optionalpretty?: boolean | nullEnable color and formatting in TypeScript's output to make compiler errors easier to read.
OptionalreactNamespace?: string | nullSpecify the object invoked for createElement. This only applies when targeting react JSX emit.
OptionalremoveComments?: boolean | nullDisable emitting comments.
OptionalresolveJsonModule?: boolean | nullEnable importing .json files.
OptionalresolvePackageJsonExports?: boolean | nullUse the package.json 'exports' field when resolving package imports.
OptionalresolvePackageJsonImports?: boolean | nullUse the package.json 'imports' field when resolving imports.
OptionalrewriteRelativeImportExtensions?: boolean | nullRewrite .ts, .tsx, .mts, and .cts file extensions in relative import paths to their JavaScript equivalent in output files.
OptionalrootDir?: string | nullSpecify the root folder within your source files.
OptionalrootDirs?: string[] | nullAllow multiple folders to be treated as one when resolving modules.
OptionalskipDefaultLibCheck?: boolean | nullSkip type checking .d.ts files that are included with TypeScript.
OptionalskipLibCheck?: boolean | nullSkip type checking all .d.ts files.
OptionalsourceMap?: boolean | nullCreate source map files for emitted JavaScript files.
OptionalsourceRoot?: string | nullSpecify the root path for debuggers to find the reference source code.
Optionalstrict?: boolean | nullEnable all strict type-checking options.
OptionalstrictBindCallApply?: boolean | nullCheck that the arguments for bind, call, and apply methods match the original function.
OptionalstrictBuiltinIteratorReturn?: boolean | nullBuilt-in iterators are instantiated with a TReturn type of undefined instead of any.
OptionalstrictFunctionTypes?: boolean | nullWhen assigning functions, check to ensure parameters and the return values are subtype-compatible.
OptionalstrictNullChecks?: boolean | nullWhen type checking, take into account null and undefined.
OptionalstrictPropertyInitialization?: boolean | nullCheck for class properties that are declared but not set in the constructor.
OptionalstripInternal?: boolean | nullDisable emitting declarations that have @internal in their JSDoc comments.
OptionalsuppressExcessPropertyErrors?: boolean | nullDisable reporting of excess property errors during the creation of object literals.
OptionalsuppressImplicitAnyIndexErrors?: boolean | nullSuppress noImplicitAny errors when indexing objects that lack index signatures.
Optionaltarget?: (Set the JavaScript language version for emitted JavaScript and include compatible library declarations.
OptionaltraceResolution?: boolean | nullLog paths used during the moduleResolution process.
OptionaltsBuildInfoFile?: string | nullSpecify the path to .tsbuildinfo incremental compilation file.
OptionaltypeRoots?: string[] | nullSpecify multiple folders that act like ./node_modules/@types.
Optionaltypes?: string[] | nullSpecify type package names to be included without being referenced in a source file.
OptionaluseDefineForClassFields?: boolean | nullEmit ECMAScript-standard-compliant class fields.
OptionaluseUnknownInCatchVariables?: boolean | nullDefault catch clause variables as unknown instead of any.
OptionalverbatimModuleSyntax?: boolean | nullDo not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the module setting.
Optionalwatch?: boolean | nullWatch input files.
OptionalwatchDirectory?: Specify the strategy for watching directories under systems that lack recursive file-watching functionality. Requires TypeScript version 3.8 or later.
OptionalwatchFile?: Specify the strategy for watching individual files. Requires TypeScript version 3.8 or later.
OptionalallowArbitraryExtensions?: boolean | nullEnable importing files with any extension, provided a declaration file is present.
OptionalallowImportingTsExtensions?: boolean | nullAllow imports to include TypeScript file extensions. Requires --moduleResolution bundler and either --noEmit or --emitDeclarationOnly to be set.
OptionalallowJs?: boolean | nullAllow JavaScript files to be a part of your program. Use the checkJs option to get errors from these files.
OptionalallowSyntheticDefaultImports?: boolean | nullAllow import x from y when a module doesn't have a default export.
OptionalallowUmdGlobalAccess?: boolean | nullAllow accessing UMD globals from modules.
OptionalallowUnreachableCode?: boolean | nullDisable error reporting for unreachable code.
OptionalallowUnusedLabels?: boolean | nullDisable error reporting for unused labels.
OptionalalwaysStrict?: boolean | nullEnsure use strict is always emitted.
OptionalassumeChangesOnlyAffectDirectDependencies?: boolean | nullHave recompiles in projects that use incremental and watch mode assume that changes within a file will only affect files directly depending on it.
OptionalbaseUrl?: string | nullSpecify the base directory to resolve non-relative module names.
Optionalcharset?: string | nullNo longer supported. In early versions, manually set the text encoding for reading files.
OptionalcheckJs?: boolean | nullEnable error reporting in type-checked JavaScript files.
Optionalcomposite?: boolean | nullEnable constraints that allow a TypeScript project to be used with project references.
OptionalcustomConditions?: string[] | nullConditions to set in addition to the resolver-specific defaults when resolving imports.
Optionaldeclaration?: boolean | nullGenerate .d.ts files from TypeScript and JavaScript files in your project.
OptionaldeclarationDir?: string | nullSpecify the output directory for generated declaration files.
OptionaldeclarationMap?: boolean | nullCreate sourcemaps for d.ts files.
Optionaldiagnostics?: boolean | nullOutput compiler performance information after building.
OptionaldisableReferencedProjectLoad?: boolean | nullReduce the number of projects loaded automatically by TypeScript.
OptionaldisableSizeLimit?: boolean | nullRemove the 20mb cap on total source code size for JavaScript files in the TypeScript language server.
OptionaldisableSolutionSearching?: boolean | nullOpt a project out of multi-project reference checking when editing.
OptionaldisableSourceOfProjectReferenceRedirect?: boolean | nullDisable preferring source files instead of declaration files when referencing composite projects.
OptionaldownlevelIteration?: boolean | nullEmit more compliant, but verbose and less performant JavaScript for iteration.
OptionalemitBOM?: boolean | nullEmit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
OptionalemitDeclarationOnly?: boolean | nullOnly output d.ts files and not JavaScript files.
OptionalemitDecoratorMetadata?: boolean | nullEmit design-type metadata for decorated declarations in source files.
OptionalerasableSyntaxOnly?: boolean | nullDo not allow runtime constructs that are not part of ECMAScript.
OptionalesModuleInterop?: boolean | nullEmit additional JavaScript to ease support for importing CommonJS modules. This enables allowSyntheticDefaultImports for type compatibility.
OptionalexactOptionalPropertyTypes?: boolean | nullInterpret optional property types as written, rather than adding undefined.
OptionalexperimentalDecorators?: boolean | nullEnable experimental support for legacy experimental decorators.
OptionalextendedDiagnostics?: boolean | nullOutput more detailed compiler performance information after building.
OptionalfallbackPolling?: Specify the polling strategy to use when the system runs out of or doesn't support native file watchers. Requires TypeScript version 3.8 or later.
OptionalforceConsistentCasingInFileNames?: boolean | nullEnsure that casing is correct in imports.
OptionalgenerateCpuProfile?: string | nullEmit a v8 CPU profile of the compiler run for debugging.
OptionalimportHelpers?: boolean | nullAllow importing helper functions from tslib once per project, instead of including them per-file.
OptionalimportsNotUsedAsValues?: "remove" | "preserve" | "error"Specify emit/checking behavior for imports that are only used for types.
Optionalincremental?: boolean | nullEnable incremental compilation. Requires TypeScript version 3.4 or later.
OptionalinlineSourceMap?: boolean | nullInclude sourcemap files inside the emitted JavaScript.
OptionalinlineSources?: boolean | nullInclude source code in the sourcemaps inside the emitted JavaScript.
OptionalisolatedDeclarations?: boolean | nullRequire sufficient annotation on exports so other tools can trivially generate declaration files.
OptionalisolatedModules?: boolean | nullEnsure that each file can be safely transpiled without relying on other imports.
Optionaljsx?: "preserve" | "react" | "react-jsx" | "react-jsxdev" | "react-native"Specify what JSX code is generated.
OptionaljsxFactory?: string | nullSpecify the JSX factory function used when targeting React JSX emit, e.g. React.createElement or h.
OptionaljsxFragmentFactory?: string | nullSpecify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. React.Fragment or Fragment.
OptionaljsxImportSource?: string | nullSpecify module specifier used to import the JSX factory functions when using jsx: react-jsx.
OptionalkeyofStringsOnly?: boolean | nullMake keyof only return strings instead of string, numbers or symbols. Legacy option.
Optionallib?: (((...) | { [k: ...]: ... }) & string)[] | nullSpecify a set of bundled library declaration files that describe the target runtime environment.
OptionallibReplacement?: boolean | nullEnable lib replacement.
OptionallistEmittedFiles?: boolean | nullPrint the names of emitted files after a compilation.
OptionallistFiles?: boolean | nullPrint all of the files read during the compilation.
OptionallistFilesOnly?: boolean | nullPrint names of files that are part of the compilation and then stop processing.
OptionalmapRoot?: string | nullSpecify the location where debugger should locate map files instead of generated locations.
OptionalmaxNodeModuleJsDepth?: number | nullSpecify the maximum folder depth used for checking JavaScript files from node_modules. Only applicable with allowJs.
Optionalmodule?: (Specify what module code is generated.
OptionalmoduleDetection?: "auto" | "legacy" | "force"Control what method is used to detect module-format JS files.
OptionalmoduleResolution?: (Specify how TypeScript looks up a file from a given module specifier.
OptionalmoduleSuffixes?: string[] | nullList of file name suffixes to search when resolving a module.
OptionalnewLine?: ("crlf" | "lf" | { [k: string]: unknown }) & (Set the newline character for emitting files.
OptionalnoCheck?: boolean | nullDisable full type checking (only critical parse and emit errors will be reported).
OptionalnoEmit?: boolean | nullDisable emitting files from a compilation.
OptionalnoEmitHelpers?: boolean | nullDisable generating custom helper functions like __extends in compiled output.
OptionalnoEmitOnError?: boolean | nullDisable emitting files if any type checking errors are reported.
OptionalnoErrorTruncation?: boolean | nullDisable truncating types in error messages.
OptionalnoFallthroughCasesInSwitch?: boolean | nullEnable error reporting for fallthrough cases in switch statements.
OptionalnoImplicitAny?: boolean | nullEnable error reporting for expressions and declarations with an implied any type.
OptionalnoImplicitOverride?: boolean | nullEnsure overriding members in derived classes are marked with an override modifier.
OptionalnoImplicitReturns?: boolean | nullEnable error reporting for codepaths that do not explicitly return in a function.
OptionalnoImplicitThis?: boolean | nullEnable error reporting when this is given the type any.
OptionalnoImplicitUseStrict?: boolean | nullDisable adding use strict directives in emitted JavaScript files.
OptionalnoLib?: boolean | nullDisable including any library files, including the default lib.d.ts.
OptionalnoPropertyAccessFromIndexSignature?: boolean | nullEnforces using indexed accessors for keys declared using an indexed type.
OptionalnoResolve?: boolean | nullDisallow imports, requires or <reference>s from expanding the number of files TypeScript should add to a project.
OptionalnoStrictGenericChecks?: boolean | nullDisable strict checking of generic signatures in function types.
OptionalnoUncheckedIndexedAccess?: boolean | nullAdd undefined to a type when accessed using an index.
OptionalnoUncheckedSideEffectImports?: boolean | nullCheck side effect imports.
OptionalnoUnusedLocals?: boolean | nullEnable error reporting when local variables aren't read.
OptionalnoUnusedParameters?: boolean | nullRaise an error when a function parameter isn't read.
Optionalout?: string | nullDeprecated setting. Use outFile instead.
OptionaloutDir?: string | nullSpecify an output folder for all emitted files.
OptionaloutFile?: string | nullSpecify a file that bundles all outputs into one JavaScript file. If declaration is true, also designates a file that bundles all .d.ts output.
Optionalpaths?: { [k: string]: string[] } | nullSpecify a set of entries that re-map imports to additional lookup locations.
Optionalplugins?: { name?: string }[] | nullSpecify a list of language service plugins to include.
OptionalpreserveConstEnums?: boolean | nullDisable erasing const enum declarations in generated code.
OptionalpreserveSymlinks?: boolean | nullDisable resolving symlinks to their realpath. This correlates to the same flag in node.
OptionalpreserveValueImports?: boolean | nullPreserve unused imported values in the JavaScript output that would otherwise be removed.
OptionalpreserveWatchOutput?: boolean | nullDisable wiping the console in watch mode.
Optionalpretty?: boolean | nullEnable color and formatting in TypeScript's output to make compiler errors easier to read.
OptionalreactNamespace?: string | nullSpecify the object invoked for createElement. This only applies when targeting react JSX emit.
OptionalremoveComments?: boolean | nullDisable emitting comments.
OptionalresolveJsonModule?: boolean | nullEnable importing .json files.
OptionalresolvePackageJsonExports?: boolean | nullUse the package.json 'exports' field when resolving package imports.
OptionalresolvePackageJsonImports?: boolean | nullUse the package.json 'imports' field when resolving imports.
OptionalrewriteRelativeImportExtensions?: boolean | nullRewrite .ts, .tsx, .mts, and .cts file extensions in relative import paths to their JavaScript equivalent in output files.
OptionalrootDir?: string | nullSpecify the root folder within your source files.
OptionalrootDirs?: string[] | nullAllow multiple folders to be treated as one when resolving modules.
OptionalskipDefaultLibCheck?: boolean | nullSkip type checking .d.ts files that are included with TypeScript.
OptionalskipLibCheck?: boolean | nullSkip type checking all .d.ts files.
OptionalsourceMap?: boolean | nullCreate source map files for emitted JavaScript files.
OptionalsourceRoot?: string | nullSpecify the root path for debuggers to find the reference source code.
Optionalstrict?: boolean | nullEnable all strict type-checking options.
OptionalstrictBindCallApply?: boolean | nullCheck that the arguments for bind, call, and apply methods match the original function.
OptionalstrictBuiltinIteratorReturn?: boolean | nullBuilt-in iterators are instantiated with a TReturn type of undefined instead of any.
OptionalstrictFunctionTypes?: boolean | nullWhen assigning functions, check to ensure parameters and the return values are subtype-compatible.
OptionalstrictNullChecks?: boolean | nullWhen type checking, take into account null and undefined.
OptionalstrictPropertyInitialization?: boolean | nullCheck for class properties that are declared but not set in the constructor.
OptionalstripInternal?: boolean | nullDisable emitting declarations that have @internal in their JSDoc comments.
OptionalsuppressExcessPropertyErrors?: boolean | nullDisable reporting of excess property errors during the creation of object literals.
OptionalsuppressImplicitAnyIndexErrors?: boolean | nullSuppress noImplicitAny errors when indexing objects that lack index signatures.
Optionaltarget?: (Set the JavaScript language version for emitted JavaScript and include compatible library declarations.
OptionaltraceResolution?: boolean | nullLog paths used during the moduleResolution process.
OptionaltsBuildInfoFile?: string | nullSpecify the path to .tsbuildinfo incremental compilation file.
OptionaltypeRoots?: string[] | nullSpecify multiple folders that act like ./node_modules/@types.
Optionaltypes?: string[] | nullSpecify type package names to be included without being referenced in a source file.
OptionaluseDefineForClassFields?: boolean | nullEmit ECMAScript-standard-compliant class fields.
OptionaluseUnknownInCatchVariables?: boolean | nullDefault catch clause variables as unknown instead of any.
OptionalverbatimModuleSyntax?: boolean | nullDo not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the module setting.
Optionalwatch?: boolean | nullWatch input files.
OptionalwatchDirectory?: Specify the strategy for watching directories under systems that lack recursive file-watching functionality. Requires TypeScript version 3.8 or later.
OptionalwatchFile?: Specify the strategy for watching individual files. Requires TypeScript version 3.8 or later.
Instructs the TypeScript compiler how to compile .ts files.