Skip to content

empty object should be an identity type relative to the intersection operation #14762

Description

@zpdDG4gta8XKpMCd
type T = {} & { value: 1 } // expected to be { value: 1 }, actual { value: 1 } & {}

Metadata

Metadata

Assignees

Labels

CommittedThe team has roadmapped this issueFixedA PR has been merged for this issueSuggestionAn idea for TypeScript

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions