Skip to content

Remove unnecessary check in getNarrowableTypeForReference#47953

Merged
ahejlsberg merged 2 commits intomainfrom
fix47890
Feb 18, 2022
Merged

Remove unnecessary check in getNarrowableTypeForReference#47953
ahejlsberg merged 2 commits intomainfrom
fix47890

Conversation

@ahejlsberg
Copy link
Copy Markdown
Member

Fixes #47890.

@ahejlsberg
Copy link
Copy Markdown
Member Author

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

@RyanCavanaugh
Copy link
Copy Markdown
Member

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

@typescript-bot
Copy link
Copy Markdown
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
Copy Markdown
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 <[email protected]>
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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