Hacker News new | ask | show | jobs
by tubthumper8 953 days 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.
1 comments

Makes me wonder if Prettier would be noticeably improved it it were migrated to TypeScript (first).
IIRC the maintainers are not currently open to migrating to TypeScript