speed
speed copied to clipboard
my TS project is slow. now what?
typescript speed
my TS project is slow to build. now what?
- use project references https://react-typescript-cheatsheet.netlify.app/docs/advanced/patterns_by_version#typescript-30
- use
--incremental
-
yarn tsd --diagnostics
to get a sense - TypeScript team performance documentation - https://github.com/microsoft/TypeScript/wiki/Performance
- TypeScript Performance tracing (4.1+ only) - https://github.com/microsoft/TypeScript/wiki/Performance-Tracing
war stories
- https://medium.com/pixel-and-ink/understanding-and-improving-emotion-10s-typescript-types-622e2d172f6f