error TS2688: Cannot find type definition file for 'keyv'. For version 4.2.0
See original GitHub issueType 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
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:22 (10 by maintainers)
Top GitHub Comments
@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?