Skip to content
New issue

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

Cannot find name 'WeakKey'. #331

Open
saipraveen81 opened this issue Dec 18, 2024 · 1 comment
Open

Cannot find name 'WeakKey'. #331

saipraveen81 opened this issue Dec 18, 2024 · 1 comment

Comments

@saipraveen81
Copy link

Hi, I'm getting this error while running in the DevOps pipeline.

node_modules/idb/build/wrap-idb-value.d.ts:2:53 - error TS2304: Cannot find name 'WeakKey'.
2 export declare const reverseTransformCache: WeakMap<WeakKey, any>;

Please let us know how to resolve this issue

@rvCalance
Copy link

rvCalance commented Dec 18, 2024

We are also getting same issue while running devops pipeline, while it was working fine till 2 days back.
**Error: node_modules/idb/build/wrap-idb-value.d.ts:2:53 - error TS2304: Cannot find name 'WeakKey'.

2 export declare const reverseTransformCache: WeakMap<WeakKey, any>;**

we are using following version of IDB and typescript
"idb": "~8.0.0",
"typescript": "~4.8.2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants