-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Fix WeakSet interface #19756
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
Fix WeakSet interface #19756
Conversation
You mean lodash definitions? |
I meant a pull request to the TypeScript compiler, that would allow the |
Sorry, I missed to find |
That may cause errors for people using lodash with earlier TypeScript versions though. We have no way of changing these both at the same time unfortunately. So it would be best to support backwards-compatibility so |
I made DefinitelyTyped/DefinitelyTyped#21273. This patch don't have unfavorite incompatibility. |
I think we need a fix to allow defaults on only one declaration as @Andy-MS noted in #19756 (comment) |
DefinitelyTyped/DefinitelyTyped#21273 is merged. So we can merge this PR. |
The problem is with |
Seems like it is impossible to fix WeakSet interface without breaking changes. We can never fix WeakSet? |
We need a fix for #20018 first. |
Now can you merge? |
Fixes #14840
cc @Andy-MS