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

Remove unnecessary check in getNarrowableTypeForReference #47953

Merged
merged 2 commits into from Feb 18, 2022
Merged

Conversation

ahejlsberg
Copy link
Member

Fixes #47890.

@ahejlsberg
Copy link
Member Author

@RyanCavanaugh @DanielRosenwasser We'll want to cherry pick this one.

@RyanCavanaugh
Copy link
Member

@typescript-bot cherry-pick this to release-4.6

@typescript-bot
Copy link
Collaborator

typescript-bot commented Feb 18, 2022

Heya @RyanCavanaugh, I've started to run the task to cherry-pick this into release-4.6 on this PR at f4dcf88. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, I've opened #47957 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Feb 18, 2022
Component commits:
aa1c25d Remove unnecessary check in getNarrowableTypeForReference

f4dcf88 Add regression test
@ahejlsberg ahejlsberg merged commit db226a8 into main Feb 18, 2022
@ahejlsberg ahejlsberg deleted the fix47890 branch February 18, 2022 19:03
DanielRosenwasser pushed a commit that referenced this pull request Feb 19, 2022
Component commits:
aa1c25d Remove unnecessary check in getNarrowableTypeForReference

f4dcf88 Add regression test

Co-authored-by: Anders Hejlsberg <andersh@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ts4.6.1-rc regression: Property ... does not exist on type 'Partial<MyStorage>[K]'
3 participants