Skip to content

Add completion test for partial generic object #34559

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
Oct 18, 2019

Conversation

timsuchanek
Copy link
Contributor

I noticed, that in https://github.com/microsoft/TypeScript/blob/master/tests/cases/fourslash/completionsWithOptionalPropertiesGeneric.ts the hello is invalid, as it needs a : true or : false next to it and points to a non-existing variable.
In addition, the other completion tests introduced by #33937
all start with an empty object.

This is a small test to make sure, that we're also testing the "happy path" when there already is a valid property existing for the object that we're trying to auto-complete.

Copy link
Member

@andrewbranch andrewbranch left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@andrewbranch andrewbranch merged commit 9ff9c41 into microsoft:master Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants