FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed JSX context-sensitive children discrimination for generic signatures by Andarist · Pull Request #2803 · microsoft/typescript-go · GitHub

Fixed JSX context-sensitive children discrimination for generic signatures - #2803

Merged
Jake Bailey (jakebailey) merged 4 commits into
microsoft:mainfrom
Andarist:fix/contextually-typed-jsx-children
Feb 17, 2026
Merged

Fixed JSX context-sensitive children discrimination for generic signatures#2803
Jake Bailey (jakebailey) merged 4 commits into
microsoft:mainfrom
Andarist:fix/contextually-typed-jsx-children

Conversation

Mateusz Burzyński (Andarist) commented Feb 17, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

fixes #2802
fixes #2797

Comment thread internal/checker/relater.go Outdated
>(props) => <div>{props.locale}</div> : (props: { locale: string; children: {}; }) => JSX.Element
>props : { locale: string; children: {}; }
>(props) => <div>{props.locale}</div> : (props: BaseProps) => JSX.Element
>props : BaseProps

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Ah, yes, the ObjectFlagsNonInferrableType flag wasn't being propagated. Nice!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Worth fixing in Strada?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I would just leave Strada alone for now.

Jake Bailey (jakebailey) added this pull request to the merge queue Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants


Back | FazBrowse Home | New Git URL