You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support intersecting ObjectShapeType with HasPropertyType
When intersecting an object shape with HasPropertyType, if the property
doesn't exist in the shape, add it as mixed. If it exists, make it
required. This is handled before isSuperTypeOf checks, similar to the
ObjectShapeType-ObjectShapeType intersection.
Also fix the NeverType check for overlapping properties with incompatible
types: only skip if the property is optional in both shapes (not just one).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments