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
TypeScript build of version 8.1.0 fails with:
node_modules/@testing-library/vue/types/index.d.ts:10:36 - error TS2307: Cannot find module 'type-fest' or its corresponding type declarations. import {RemoveIndexSignature} from 'type-fest
node_modules/@testing-library/vue/types/index.d.ts:10:36 - error TS2307: Cannot find module 'type-fest' or its corresponding type declarations.
import {RemoveIndexSignature} from 'type-fest
This is due to RemoveIndexSignature being renamed to OmitIndexSignature in type-fest v3 and then being removed in a later version.
RemoveIndexSignature
OmitIndexSignature
type-fest
I would suggest specifying type-fest version 2.19 as a potential fix in the package.json. Version 3 and above appear to cause other issues.
Testing-library commit that causes the issue: d46ed8f#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R71
Deprecation notice of RemoveIndexSignature from type-fest: sindresorhus/type-fest#387
The text was updated successfully, but these errors were encountered:
Fix testing-library#315 - RemoveIndexSignature deprecated in future v…
a745266
…ersions
Workaround, install previous version:
npm install @testing-library/vue@8.0.3 -D
Sorry, something went wrong.
Fix testing-library#315 - RemoveIndexSignature deprecated in v4
65a8249
Or in your package.json, provide the hint:
package.json
"overrides": { "type-fest": ">=2.10 <4.0.0" },
👋
PR ready: #320
No branches or pull requests
TypeScript build of version 8.1.0 fails with:
This is due to
RemoveIndexSignature
being renamed toOmitIndexSignature
intype-fest
v3 and then being removed in a later version.I would suggest specifying type-fest version 2.19 as a potential fix in the package.json. Version 3 and above appear to cause other issues.
Testing-library commit that causes the issue: d46ed8f#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R71
Deprecation notice of
RemoveIndexSignature
fromtype-fest
: sindresorhus/type-fest#387The text was updated successfully, but these errors were encountered: