Skip to content

Include type parameter defaults in contextual typing - #50994

Merged
Anders Hejlsberg (ahejlsberg) merged 4 commits into
mainfrom
fix50858
Sep 30, 2022
Merged

Include type parameter defaults in contextual typing#50994
Anders Hejlsberg (ahejlsberg) merged 4 commits into
mainfrom
fix50858

Conversation

@ahejlsberg

@ahejlsbergAnders Hejlsberg (ahejlsberg) commented Sep 29, 2022

Copy link
Copy Markdown
Member

This PR supersedes #50960 and fixes#50858.

Thanks Max Stoumen (@mxsdev) for calling attention to this issue and proposing a fix. This PR effectively implements the same idea as #50960 in a simpler manner. Also, this PR borrows the tests from #50960.

Fixes#46310.
Fixes#50858.

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

Labels

Author: TeamFor Milestone BugPRs that fix a bug with a specific milestone

Projects

None yet

6 participants

@ahejlsberg@DanielRosenwasser@typescript-bot@Andarist@mxsdev@weswigham