Skip to content

Fixed substition types for non-generic indexed accesses - #51621

Merged
Anders Hejlsberg (ahejlsberg) merged 1 commit into
microsoft:mainfrom
Andarist:andarist/fix-non-generic-substitution-type
Dec 7, 2022
Merged

Fixed substition types for non-generic indexed accesses#51621
Anders Hejlsberg (ahejlsberg) merged 1 commit into
microsoft:mainfrom
Andarist:andarist/fix-non-generic-substitution-type

Conversation

@Andarist

Copy link
Copy Markdown
Contributor

@ahejlsberg Anders Hejlsberg (ahejlsberg) left a comment

Copy link
Copy Markdown
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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

4 participants