TypeScript 5.4, a planned update to the strongly typed JavaScript variant from Microsoft, has reached beta availability. New capabilities include preserved narrowing within function closures created after the last assignment and a NoInfer type to block inferences to valid but unwanted types.
Released January 29, TypeScript 5.4 can be accessed via NuGet or NPM. In NPM, use the following command: