-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
the type of super() should be instance, not void #37847
Labels
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Comments
RyanCavanaugh
added
the
Needs Investigation
This issue needs a team member to investigate its status.
label
Apr 20, 2020
addon: class Sub extends Super {
a :1;
constructor () {
super().a;// better to be able to warn not init yet
this.a = 1;
this.a;// ok now
}
} |
Are there any plans on fixing (investigating) this any time soon? |
@cangSDARM ```ts repro
// source code here
```
[Workbench Repro](https://www.typescriptlang.org/dev/bug-workbench/) |
typescript-bot
added
the
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
label
Dec 11, 2023
Sry, my mistake. I did a little more digging, and this is esbuild issue :) evanw/esbuild#3538 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
Needs Investigation
This issue needs a team member to investigate its status.
TypeScript Version: 3.8.3
Search Terms:
Code
Expected behavior: no error
Actual behavior:
TS2322
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: