jsonecho

Formateador de TypeScript

Formatea TypeScript para que sea legible.

Cargando la herramienta...

Cómo usar Formateador de TypeScript

  1. Pega el TypeScript.
  2. Copia el resultado.

Sobre Formateador de TypeScript

Aplica indentación y formato consistente a TypeScript.

Preguntas frecuentes

Does it check types?

No. It checks syntax only. A type error will not stop the formatting.

Is the output the same as Prettier?

The tool uses the Prettier engine and its defaults, so yes, apart from the options you change here.

Does it support TSX?

Paste JSX inside TypeScript and it is formatted too. For plain React code, the Babel Formatter is the better fit.

Why did the first run take a second?

The formatting engine for this language is downloaded the first time you use it, then cached by your browser. After that, formatting is instant and nothing leaves your machine.

Más en Formateadores de código

Todas las herramientas →