We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// @noEmit: true // @allowJs: true // @checkJs: true // @Filename: defaults.js /** @type {any} */ var X class Y extends X { constructor() { super() } }
Expected behavior: No error, or at least an error on X "Can't extend value of type any".
Actual behavior: Error on super(), "Call target does not contain any signatures."
super()
There are lots of anys floating around Javascript, so this should be allowed, even if it's not trivial. Maybe it should be allowed in Typescript too.
The text was updated successfully, but these errors were encountered:
Related to #17032
Sorry, something went wrong.
Affects webpack in @mohsen1's addition of ts-check.
sandersn
No branches or pull requests
Expected behavior:
No error, or at least an error on X "Can't extend value of type any".
Actual behavior:
Error on
super()
, "Call target does not contain any signatures."There are lots of anys floating around Javascript, so this should be allowed, even if it's not trivial. Maybe it should be allowed in Typescript too.
The text was updated successfully, but these errors were encountered: