"--resolvePackageJsonExports[Use the package.json 'exports' field when resolving package imports]"
"--resolvePackageJsonImports[Use the package.json 'imports' field when resolving imports]"
'--rootDir[Specify the root folder within your source files]:dir:_files -/'
'--rootDirs[Allow multiple folders to be treated as one when resolving modules]:dirs:_files -/'
"--typeRoots[Specify multiple folders that act like './node_modules/@types']:dirs:_files -/"
'--types[Specify type package names to be included without being referenced in a source file]:packages'
"--allowJs[Allow JavaScript files to be a part of your program]"
'--checkJs[Enable error reporting in type-checked JavaScript files]'
"--maxNodeModuleJsDepth[Specify the maximum folder depth used for checking JavaScript files from 'node_modules']:depth"
"--allowSyntheticDefaultImports[Allow 'import x from y' when a module doesn't have a default export]"
'--esModuleInterop[Emit additional JavaScript to ease support for importing CommonJS modules]'
'--forceConsistentCasingInFileNames[Ensure that casing is correct in imports]'
'--isolatedDeclarations[Require sufficient annotation on exports so other tools can trivially generate declaration files]'
'--isolatedModules[Ensure that each file can be safely transpiled without relying on other imports]'
'--preserveSymlinks[Disable resolving symlinks to their realpath. This correlates to the same flag in node]'
'--verbatimModuleSyntax[Do not transform or elide any imports or exports not marked as type-only]'
'--allowUnreachableCode[Disable error reporting for unreachable code]'
'--allowUnusedLabels[Disable error reporting for unused labels]'
"--alwaysStrict[Ensure 'use strict' is always emitted]"
"--exactOptionalPropertyTypes[Interpret optional property types as written, rather than adding 'undefined']"
'--noFallthroughCasesInSwitch[Enable error reporting for fallthrough cases in switch statements]'
'--noImplicitAny[Enable error reporting for expressions and declarations with an implied "any" type]'
'--noImplicitOverride[Ensure overriding members in derived classes are marked with an override modifier]'
'--noImplicitReturns[Enable error reporting for codepaths that do not explicitly return in a function]'
"--noImplicitThis[Enable error reporting when 'this' is given the type 'any']"
'--noPropertyAccessFromIndexSignature[Enforces using indexed accessors for keys declared using an indexed type]'
'--noUncheckedIndexedAccess[Add "undefined" to a type when accessed using an index]'
"--noUnusedLocals[Enable error reporting when local variables aren't read]"
"--noUnusedParameters[Raise an error when a function parameter isn't read]"
'--strict[Enable all strict type-checking options]'
"--strictBindCallApply[Check that the arguments for 'bind', 'call', and 'apply' methods match the original function]"
"--strictBuiltinIteratorReturn[Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any']"
'--strictFunctionTypes[When assigning functions, check to ensure parameters and the return values are subtype-compatible]'
"--strictNullChecks[When type checking, take into account 'null' and 'undefined']"
'--strictPropertyInitialization[Check for class properties that are declared but not set in the constructor]'
"--useUnknownInCatchVariables[Default catch clause variables as 'unknown' instead of 'any']"
"--assumeChangesOnlyAffectDirectDependencies[Have recompiles in projects that use 'incremental' and 'watch' mode]"
'--composite[Enable constraints that allow a TypeScript project to be used with project references]'
'--disableReferencedProjectLoad[Reduce the number of projects loaded automatically by TypeScript]'
'--disableSolutionSearching[Opt a project out of multi-project reference checking when editing]'
'--disableSourceOfProjectReferenceRedirect[Disable preferring source files instead of declaration files when referencing composite projects]'
'(-i --incremental)'{-i,--incremental}'[Save .tsbuildinfo files to allow for incremental compilation of projects]'
'--tsBuildInfoFile[Specify the path to .tsbuildinfo incremental compilation file]:buildinfo:_files -g "*.tsbuildinfo"'
'(-d --declaration)'{-d,--declaration}'[Generate .d.ts files from TypeScript and JavaScript files in your project]'
'--declarationDir[Specify the output directory for generated declaration files]:dir:_files -/'
'--declarationMap[Create sourcemaps for d.ts files]'
'--downlevelIteration[Emit more compliant, but verbose and less performant JavaScript for iteration]'
'--emitBOM[Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files]'
'--emitDeclarationOnly[Only output d.ts files and not JavaScript files]'
'--importHelpers[Allow importing helper functions from tslib once per project]'
'--inlineSourceMap[Include sourcemap files inside the emitted JavaScript]'
'--inlineSources[Include source code in the sourcemaps inside the emitted JavaScript]'
'--mapRoot[Specify the location where debugger should locate map files instead of generated locations]:location:_files'
'--newLine[Set the newline character for emitting files]:newline:(crlf lf)'
'--noEmit[Disable emitting files from a compilation]'
"--noEmitHelpers[Disable generating custom helper functions like '__extends' in compiled output]"
'--noEmitOnError[Disable emitting files if any type checking errors are reported]'
'--outDir[Specify an output folder for all emitted files]:dir:_files -/'
'--outFile[Specify a file that bundles all outputs into one JavaScript file]:file:_files'
'--preserveConstEnums[Disable erasing "const enum" declarations in generated code]'
'--removeComments[Disable emitting comments]'
'--sourceMap[Create source map files for emitted JavaScript files]'
'--sourceRoot[Specify the root path for debuggers to find the reference source code]:dir:_files -/'
'--stripInternal[Disable emitting declarations that have "@internal" in their JSDoc comments]'
'--diagnostics[Output compiler performance information after building]'
'--explainFiles[Print files read during the compilation including why it was included]'
'--extendedDiagnostics[Output more detailed compiler performance information after building]'
'--generateCpuProfile[Emit a v8 CPU profile of the compiler run for debugging]:profile'
'--generateTrace[Generates an event trace and a list of types]:types'
'--listEmittedFiles[Print the names of emitted files after a compilation]'
'--listFiles[Print all of the files read during the compilation]'
'--noCheck[Disable full type checking]'
"--traceResolution[Log paths used during the 'moduleResolution' process]"
'--disableSizeLimit[Remove the 20mb cap on total source code size for JavaScript files in TypeScript language server]'
'--plugins[Specify a list of language service plugins to include]:plugins'
'--emitDecoratorMetadata[Emit design-type metadata for decorated declarations in source files]'
'--experimentalDecorators[Enable experimental support for legacy experimental decorators]'
'--jsx[Specify what JSX code is generated]:type(preserve react react-native react-jsx react-jsxdev)'
"--jsxFactory[Specify the JSX factory function used when targeting React JSX emit]:funcname"
"--jsxFragmentFactory[Specify the JSX Fragment reference used for fragments when targeting React JSX emit]:reference"
'--jsxImportSource[Specify module specifier used to import the JSX factory functions]'
'--lib[Specify a set of bundled library declaration files that describe the target runtime environment]:lib:(($bundle_libraries))'
'--moduleDetection[Control what method is used to detect module-format JS files]:method:(legacy auto force)'
'--noLib[Disable including any library files, including the default lib.d.ts]'
'--reactNamespace[Specify the object invoked for "createElement"]'
'(-t --target)'{-t,--target}'[Set the JavaScript language version for emitted JavaScript]:target:(($targets))'
'--useDefineForClassFields[Emit ECMAScript-standard-compliant class fields]'
'--noErrorTruncation[Disable truncating types in error messages]'
'--preserveWatchOutput[Disable wiping the console in watch mode]'
"--pretty[Enable color and formatting in TypeScript's output to make compiler errors easier to read]"
'--skipDefaultLibCheck[Skip type checking .d.ts files that are included with TypeScript]'
'--skipLibCheck[Skip type checking all .d.ts files]'
'--watchFile[Specify how the TypeScript watch mode works]:mode:(($watch_modes))'
'--watchDirectory[Specify how directories are watched on systems]:mode:(usefsevents fixedpollinginterval dynamicprioritypolling fixedchunksizepolling)'
'--fallbackPolling[Specify what approach the watcher should use if the system runs out of native file watchers]:approach:(fixedinterval priorityinterval dynamicpriority fixedchunksize)'
'--synchronousWatchDirectory[Synchronously call callbacks and update the state of directory watchers on platforms]'
'--excludeDirectories[Remove a list of directories from the watch process]:dirs:_files -/'
"--excludeFiles[Remove a list of files from the watch mode's processing]:files:_files"