3 ms·
esbuild does not type check. TypeScript type checks and then emits code. Better performance can be achieved by just stripping types and emitting code. It would
by atom_arranger 6y ago
esbuild does not type check. TypeScript type checks and then emits code. Better performance can be achieved by just stripping types and emitting code.
It would be great to improve the performance of type checking, but that’s more complicated.
Some project are trying, the Deno maintainers have asserted that TypeScript should be rewritten in Rust for better performance. swc is trying to do that - https://github.com/swc-project/swc/issues/571 https://github.com/swc-project/swc/issues/571