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

WeakKey Type Error #329

Open
juibu opened this issue Dec 17, 2024 · 0 comments
Open

WeakKey Type Error #329

juibu opened this issue Dec 17, 2024 · 0 comments

Comments

@juibu
Copy link

juibu commented Dec 17, 2024

Hi, I'm getting this error while running tests in an angular app. Occurred after upgrading to Angular 14->15.

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>;

I have these in tsConfig:
"target": "ES2022",
"module": "es2020",
"lib": ["es2020", "dom"]

Let me know I can provide further specific details

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

1 participant