4 ms·
I thought Prettier didn't support TypeScript, as the TS AST is completely different to the JS AST.
by marksomnian 9y ago
I thought Prettier didn't support TypeScript, as the TS AST is completely different to the JS AST.
- scrollaway 9y agoIt's not very different; Typescript strives to be a JS superset. Anyhow, it does support it just fine. Even tsx/jsx (react-extended js/ts).