Skip to content

Fix JSX contextual types to not eagerly become apparent, use 2-pass i… #21749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2018

Conversation

weswigham
Copy link
Member

Ports #21383 to release-2.7

…nference for JSX (microsoft#21383)

* Fix JSX contextual types to not eagerly become apparent

* Apply changes from code review, unify common code

* Fix jsx children contextual typing

* Light code review feedback

* Use fillMissingTypeArguments

* Accept nonliteral jsx child type

* Add test for the fillMissingTypeArguments case
@weswigham weswigham merged commit 4c89376 into microsoft:release-2.7 Feb 7, 2018
@weswigham
Copy link
Member Author

@mhegazy approved merge offline, though we wanna do some more validation on jsx projects with a candidate 2.7.2 release before it goes out

@weswigham weswigham deleted the port-jsx-again branch February 7, 2018 23:36
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
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.

1 participant