🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.
1.06k
stars
110
forks
source link
TypeScript v8.1.0: Cannot find module 'type-fest' or its corresponding type declarations - RemoveIndexSignature #315
Open
zymotik opened 1 month ago
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: https://github.com/testing-library/vue-testing-library/commit/d46ed8f757e77fe85b369847c21d394bb9706066#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R71
Deprecation notice of
RemoveIndexSignature
fromtype-fest
: https://github.com/sindresorhus/type-fest/issues/387