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
In TypeScript 4.3, a new feature, the override keyword, has been added. However, currently tsd does not process the override keyword correctly.
override
I have tried to use the override keyword in the following project:
However, the following error occurs:
src/index.ts:109:4 ✖ 109:4 Member override implicitly has an any type. ✖ 109:13 ; expected. ✖ 122:4 Duplicate identifier override. ✖ 122:13 ; expected. 4 errors
https://github.com/sounisi5011/npm-packages/runs/2685162070#step:9:232
The text was updated successfully, but these errors were encountered:
Yeah, this is due to the fact that tsd is still based on typescript@4.2. We'll have to bump the typescript dependency for this to work.
tsd
typescript@4.2
typescript
Sorry, something went wrong.
Upgrade to ts@4.3, allow expectError to detect override related e…
expectError
88cecbe
…rrors Fixes tsdjs#106
With the upgrade to tsd@0.16.0, I can now use the override keyword! Thank you.
tsd@0.16.0
Successfully merging a pull request may close this issue.
In TypeScript 4.3, a new feature, the
override
keyword, has been added.However, currently tsd does not process the
override
keyword correctly.I have tried to use the
override
keyword in the following project:However, the following error occurs:
https://github.com/sounisi5011/npm-packages/runs/2685162070#step:9:232
The text was updated successfully, but these errors were encountered: