Filter callbacks now auto-narrow types without manual type predicates; `--isolatedDeclarations` decouples declaration generation from full type checking to speed builds.
Summary
Removes boilerplate type guard functions for common patterns and unlocks parallel declaration file generation in esbuild/swc, cutting type-check bottlenecks in large projects. Regex syntax checking catches regex errors at compile time instead of runtime.
Why it matters
Removes boilerplate type guard functions for common patterns and unlocks parallel declaration file generation in esbuild/swc, cutting type-check bottlenecks in large projects. Regex syntax checking catches regex errors at compile time instead of runtime.
Implementation verdict
Filter inference replaces manual type predicate helpers immediately—zero migration cost. `--isolatedDeclarations` requires explicit type annotations on exports and is ready for adoption but demands audit of export signatures. Worth adopting now if building with esbuild/swc toolchains.
Sources
Dev Signal
Get briefs like this in your inbox — free, every weekday.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.