-
Notifications
You must be signed in to change notification settings - Fork 12.8k
ThisType
doesn't work when extending it with an interface
#46835
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
Comments
Possibly because |
yeah i'm aware of the differences between types and interfaces, but i don't see how any of those differences would break |
The purpose of (Contextual typing being the same mechanism that infers parameter types of callbacks). |
This wouldn't be fixable without doing some heavy-duty changing of what |
This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Bug Report
π Search Terms
thistype interface
π Version & Regression Information
4.6.0-dev.20211116
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
π Expected behavior
no error
The text was updated successfully, but these errors were encountered: