3 ms·
tsc is slow (and that's a shame), but there are Typescript compilers like swc that are quite fast. It's totally reasonable to keep your setup simple, all that
by solarkraft 4y ago
tsc is slow (and that's a shame), but there are Typescript compilers like swc that are quite fast.
It's totally reasonable to keep your setup simple, all that complexity is often not required. It only really pays off on larger projects (it's super simple to set up nowadays though).
- Beltalowda 4y agoI believe swc only compiles TypeScript, but doesn't actually perform any type checking (same as esbuild)? You can make tsc a bit less slow by disabling type checking (it's still slow, but less), but it seems to me that kind of defeats the point of using TypeScript in the first place. It's nice for creating builds, but not very useful during development.