keyv: error TS2688: Cannot find type definition file for 'keyv'. For version 4.2.0
Type definition missing for 4.2.0 One of my projects has a dependency on keyv, when the typescript compiler runs it finds that 4.2.0 doesnt have the index.d.ts file. There was a publish made 16 hours ago post which builds for me have started failing. https://registry.npmjs.org/@types/keyv mentions the versions installed, and the package to the tar file is https://registry.npmjs.org/@types/keyv/-/keyv-4.2.0.tgz
Either i can force resolution to a lower version or maybe you could push 4.2.0 with the index.d.ts file or mention a migration strategy.
Thanks
Steps To reproduce
- Clone https://github.com/software-mansion/react-native-screens
- npm install should fail
The failed message should say something around the line of bob build failed. This is caused by @react-native-community-package/bob, where it runs the tsc build command as mentioned on the bottom line and it will fail.
https://github.com/callstack/react-native-builder-bob/blob/v0.17.1/src/targets/typescript.ts#L130
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 5
- Comments: 22 (10 by maintainers)
@kanadgupta @mesner @mmcshinsky-bitgo - merging and will release the changes in the next 48 hours.
@azmicirit It got removed in this issue: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/62793
Will this workaround mentioned in above issue works?
@mesner - We have re-opened this and looking at what it would take to re-publish to types to fill this gap.