3 ms·
It's not just speed, but also correctness. A quick search in the Prettier repo shows plenty of issues for "undefined is not a function", "cannot read property X
by tubthumper8 3y ago
It's not just speed, but also correctness. A quick search in the Prettier repo shows plenty of issues for "undefined is not a function", "cannot read property X of undefined/null", and other such errors that are avoidable in a language with a good type system.
- adiabatty 3y agoMakes me wonder if Prettier would be noticeably improved it it were migrated to TypeScript (first).
- tubthumper8 3y agoIIRC the maintainers are not currently open to migrating to TypeScript