new.target is not inferred as a "this" type #13849
Labels
Bug
A bug in TypeScript
Working as Intended
The behavior described is the intended behavior; this is not a bug
Milestone
TypeScript Version: [email protected]
Code
The assignment should be allowed in both cases.
Expected behavior:
No errors
Actual behavior:
Errors
The text was updated successfully, but these errors were encountered: