Formatting, not type-checking
Prettier’s TypeScript parser understands the syntax well enough to lay it out, but it does not type-check. Code with a type error formats fine; code with a syntax error (a missing brace) is reported with its line.
Format TypeScript without setting up a project — interfaces, generics, enums and decorators included.
Prettier’s TypeScript parser understands the syntax well enough to lay it out, but it does not type-check. Code with a type error formats fine; code with a syntax error (a missing brace) is reported with its line.
No — choose indentation, quotes and semicolons with the options above the editor.
Yes.