Skip to content

Improve check of whether type query node possibly contains reference to type parameter#50070

Merged
gabritto merged 13 commits intomainfrom
gabritto/issue48134
Sep 19, 2022
Merged

Improve check of whether type query node possibly contains reference to type parameter#50070
gabritto merged 13 commits intomainfrom
gabritto/issue48134

Conversation

@gabritto
Copy link
Copy Markdown
Member

Fixes #48134.

There's an explanation of why the bug happens in the original issue: #48134 (comment).
This PR implements the fix suggested in #48134 (comment).

Loading
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

Archived in project

Development

Successfully merging this pull request may close these issues.

Typescript fails to infer return type for function under some circumstances (related to typeof operator)

5 participants