The entity type discriminators of one declaration's members.
An entity's identity in the type system is its type literal — the
documented declare readonly type: "ClassName". TypeScript is structural,
so two entities with the same attribute shape are genuinely the same type
to the compiler unless something distinguishes them, and the discriminator
is what does. Comparing it is therefore both exact and cheap: entity
instance types reference each other through relationships, so a structural
comparison would recurse through the entity graph to reach the same answer.
A member whose discriminator widened to string declared none, and has no
identity to compare — it is dropped here rather than matched against every
other anonymous entity. See MembersClaimedByAnotherIndex.
The entity type discriminators of one declaration's members.
An entity's identity in the type system is its
typeliteral — the documenteddeclare readonly type: "ClassName". TypeScript is structural, so two entities with the same attribute shape are genuinely the same type to the compiler unless something distinguishes them, and the discriminator is what does. Comparing it is therefore both exact and cheap: entity instance types reference each other through relationships, so a structural comparison would recurse through the entity graph to reach the same answer.A member whose discriminator widened to
stringdeclared none, and has no identity to compare — it is dropped here rather than matched against every other anonymous entity. See MembersClaimedByAnotherIndex.