DOKK / manpages / debian 11 / node-typescript / tsc.1.en
TSC(1) User Commands TSC(1)

tsc - TypeScript compiler

tsc --outFile file.js file.ts

tsc @args.txt

Allow javascript files to be compiled.
Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
Do not report errors on unreachable code.
Do not report errors on unused labels.
Base directory to resolve non-absolute module names.
Generates corresponding '.d.ts' file.
Enables experimental support for ES7 decorators.
Disallow inconsistently-cased references to the same file.
Print this message.
Initializes a TypeScript project and creates a tsconfig.json file.
Specify JSX code generation: 'preserve' or 'react'
Specify library files to be included in the compilation: 'es5' 'es6' 'es2015' 'es7' 'es2016' 'es2017' 'dom' 'webworker' 'scripthost' 'es2015.core' 'es2015.collection' 'es2015.generator' 'es2015.iterable' 'es2015.promise' 'es2015.proxy' 'es2015.reflect' 'es2015.symbol' 'es2015.symbol.wellknown' 'es2016.array.include' 'es2017.object' 'es2017.sharedmemory'
Specify the location where debugger should locate map files instead of generated locations.
The maximum dependency depth to search under node_modules and load JavaScript files
Specify module code generation: 'commonjs', 'amd', 'system', 'umd' or 'es2015'
Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).
Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).
Do not emit outputs.
Do not emit outputs if any errors were reported.
Report errors for fallthrough cases in switch statement.
Raise error on expressions and declarations with an implied 'any' type.
Report error when not all code paths in function return a value.
Raise error on 'this' expressions with an implied 'any' type.
Do not emit 'use strict' directives in module output.
Report errors on unused locals.
Report errors on unused parameters.
Redirect output structure to the directory.
Concatenate and emit output to single file.
Do not erase const enum declarations in generated code.
Stylize errors and messages using color and context. (experimental)
Compile the project in the given directory.
Specify the object invoked for createElement and __spread when targeting 'react' JSX emit
Do not emit comments to output.
Specify the root directory of input files. Use to control the output directory structure with --outDir.
Skip type checking of declaration files.
Generates corresponding '.map' file.
Specify the location where debugger should locate TypeScript files instead of source locations.
Enable strict null checks.
Suppress noImplicitAny errors for indexing objects lacking index signatures.
Specify ECMAScript target version: 'ES3' (default), 'ES5', or 'ES2015'
Enable tracing of the name resolution process.
Type declaration files to be included in compilation.
Print the compiler's version.
Watch input files.
@<file>
Insert command line options and files from a file.
October 2016 TypeScript compiler