Exact Optional Property Types: Intersecting with Matching Property Yields Inconsistent Errors
Symptom When the --exactOptionalPropertyTypes flag is enabled, intersecting a type that declares an exact optional property with another type that has the same property can either be accepted or rejected by the compiler. This inconsistency is observed across different TypeScript releases (5.2, 5.3, 5.4). Goal Determine the precise compiler behavior for the f