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
{{ message }}
Repository navigation
Commit ccfb1a6
Browse filesBrowse the repository at this point in the historyBrowse files
Intern spreads of a union of an object type and empty objects
Spreading a union of one object type and empty objects makes an object
type with the properties of the object type made optional. A new type
with new properties was made every time, so spreading the same union
twice yielded types that could be told apart only by their properties'
symbol ids (seen in tanstack-router). They are now interned by the
object type and whether the spread is readonly.
Copy file name to clipboardExpand all lines: tsc/testdata/baselines/reference/compiler/spreadUnionOfObjectAndEmptyObjectOrder(checkorder=isolated).types
Copy file name to clipboardExpand all lines: tsc/testdata/baselines/reference/compiler/spreadUnionOfObjectAndEmptyObjectOrder(checkorder=typesfirst).types
0 commit comments