TypeScript 4.9.4 repairs narrowing for tagged literal types
engineeringtypescriptnarrowingmaintenanceTypeScript 4.9.4 corrects control-flow analysis for literal types intersected with tag information. The patch preserves the literal case while retaining the distinction between a valid tagged value and an impossible intersection.