Skip to content
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

Support contextual type for property assignments in JS that are not declarations #18820

Merged
1 commit merged into from
Oct 4, 2017

Conversation

ghost
Copy link

@ghost ghost commented Sep 28, 2017

Fixes #18817
getSpecialPropertyAssignmentKind !== SpecialPropertyAssignmentKind.None is not sufficient to know that something is a special property assignment. It returns true for any property assignment, and then the binder does more work to determine whether it should actually be treated specially.

@ghost ghost requested a review from sandersn September 28, 2017 16:01
@ghost ghost force-pushed the jsPropertyContextualType branch from 8bbb293 to 22d37c0 Compare September 28, 2017 16:04
@ghost ghost merged commit fe9129b into master Oct 4, 2017
@ghost ghost deleted the jsPropertyContextualType branch October 4, 2017 16:32
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
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