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

Fixed substition types for non-generic indexed accesses #51621

Conversation

Andarist
Copy link
Contributor

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Nov 21, 2022
Copy link
Member

@ahejlsberg ahejlsberg left a comment

Choose a reason for hiding this comment

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

See my reasoning here for why I don't think this change is a good idea.

EDIT: Turns out there is a meaningful scenario after all.

@ahejlsberg ahejlsberg merged commit 6684e3d into microsoft:main Dec 7, 2022
@Andarist Andarist deleted the andarist/fix-non-generic-substitution-type branch December 7, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug] Conditional types throw error since TS 4.9.x
3 participants