Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add rule that a type is assignable to A extends B ? C : D if it is assignable to both C and D.#27589

Closed
mattmccutchen wants to merge 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
mattmccutchen:issue-26933mattmccutchen/TypeScript:issue-26933Copy head branch name to clipboard
Closed

Add rule that a type is assignable to A extends B ? C : D if it is assignable to both C and D.#27589
mattmccutchen wants to merge 1 commit into
microsoft:mastermicrosoft/TypeScript:masterfrom
mattmccutchen:issue-26933mattmccutchen/TypeScript:issue-26933Copy head branch name to clipboard

Conversation

@mattmccutchen

Copy link
Copy Markdown
Contributor

(With some restrictions.)

Fixes #26933.

assignable to both C and D.

(With some restrictions.)

Fixes microsoft#26933.
@RyanCavanaugh

Copy link
Copy Markdown
Member

Closing in favor of #27932 - sorry for letting this sit open so long

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
@typescript-bot

Copy link
Copy Markdown
Contributor

The TypeScript team hasn't accepted the linked issue #26933. If you can get it accepted, this PR will have a better chance of being reviewed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.