Skip to content

Conversation

ahejlsberg
Copy link
Member

Fixes #22823.

@ahejlsberg ahejlsberg requested review from weswigham and mhegazy March 23, 2018 17:06
Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

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

I have mixed feelings. I know we would do better using conditional types (this'd be the place where the NEUndefined equivalent comes into play); but this aligns what we do at destructuring closer with what we do on property accesses right now, so it seems more right (for now, anyway).

@ahejlsberg ahejlsberg merged commit 5daffbb into master Mar 23, 2018
@ahejlsberg ahejlsberg deleted the fixDestructuringWithConstraint branch March 23, 2018 19:47
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 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.

2 participants