Overloads with singleton string literal types have assignability issues #6276
Labels
Bug
A bug in TypeScript
Domain: Literal Types
Unit types including string literal types, numeric literal types, Boolean literals, null, undefined
Fixed
A PR has been merged for this issue
Milestone
The following compiles:
This is because specialized overloads are ignored for assignment compatibility purposes.
Related to #6143.
The text was updated successfully, but these errors were encountered: