Syntax

TypeScript Compile with tsc Syntax

In TypeScript, compile with tsc: type-checks and compiles TypeScript files — tsc

Quick Answer

Syntax
tsc
TypeScriptSyntax

Compile with tsc

Code example
tsc

Type-checks and compiles TypeScript files.

Learn More

How to compile with tsc in TypeScript

  1. Open your TypeScript file or editor.
  2. Copy the example, then replace its sample names and values for your code.

TypeScript Compile with tsc Syntax

Use tsc.

Related Syntax References

Frequently asked questions

What is the TypeScript syntax for compile with tsc?

Use this pattern: tsc

Can I copy this TypeScript code example?

Yes. Use Copy code and adapt the example to your program.

Is this TypeScript syntax different on Mac or Windows?

No. The language syntax is the same across operating systems.

Official source · How we verify