Categories

Software Development

TypeScript 5.4: More Powerful Types, Fewer Tricks

TypeScript 5.4, released March 6 2024, adds NoInfer to pin generic type inference without the two-parameter workaround, preserves narrowing inside synchronous callbacks like forEach and map, and ships typed Object.groupBy and Map.groupBy. Three everyday workarounds quietly retired in one incremental release.