tsc
Verified for current stable LTS
Tsc Command: Compile Typescript File Target Syntax
Use for compile typescript file target syntax with Tsc. Exact CLI syntax to compile typescript file target syntax using Tsc.
When to use this: Use for compile typescript file target syntax with Tsc.
Command Syntax
tsc -t <ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...> <path/to/file.ts> tsc -t <ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...> <path/to/file.ts> Live Command Builder
Final Command
tsc -t <ES5|ES2015|ES2016|ES2017|ES2018|ESNEXT|...> <path/to/file.ts> Command Breakdown
-t- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to compile typescript file target syntax using Tsc.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Tsc Command: Compile All Typescript Files From Tsconfig
tsc -b <path/to/tsconfig.json> Tsc Command: Compile Typescript File Custom Output Name tsc --outFile <path/to/output_file.js> <path/to/input_file.ts> Tsc Command: Compile Typescript File To Javascript Same Name tsc <path/to/file.ts> Tsc Command: Initialize Typescript Project tsc --init Tsc Command: Run Compiler In Watch Mode tsc -w