TypeScript 4.4 distinguishes omitted properties from undefined values
engineeringtypescriptoptional-propertiesnarrowingerrorsTypeScript 4.4 adds exact optional-property checking and preserves more control-flow relationships. The release also makes caught values unknown under strict checking, which changes how error handlers establish their assumptions.