TypeScript Compiler

Noun · Development

Definitions

  1. The official TypeScript compiler (`tsc`), written in TypeScript itself, that parses `.ts`/`.tsx` files, performs static type checking against the project's type annotations and inferred types, and emits plain JavaScript. It is configured via `tsconfig.json` and can target various ECMAScript versions and module systems. As of TypeScript 7, a native port to Go is in development for dramatically faster compilation.

    In plain English: The program that checks your TypeScript code for type errors and converts it into regular JavaScript that browsers and Node.js can run.

    Example: "Running `tsc --noEmit` in CI catches type errors without producing output files — it's our cheapest safety net."

Related Terms