Skip to content

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

Merged
weswigham merged 1 commit into
microsoft:release-2.7from
weswigham:port-jsx-again
Feb 7, 2018
Merged

Fix JSX contextual types to not eagerly become apparent, use 2-pass i…#21749
weswigham merged 1 commit into
microsoft:release-2.7from
weswigham:port-jsx-again

Conversation

@weswigham
Copy link
Copy Markdown
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
Copy Markdown
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