Skip to content

Fix regression in WeakMap constructor type - #54592

Merged
Ron Buckton (rbuckton) merged 1 commit into
mainfrom
fix-weakmap-constructor
Jun 9, 2023
Merged

Fix regression in WeakMap constructor type#54592
Ron Buckton (rbuckton) merged 1 commit into
mainfrom
fix-weakmap-constructor

Conversation

@rbuckton

Copy link
Copy Markdown
Contributor

@acutmore

Copy link
Copy Markdown
Contributor

Thanks Ron Buckton (@rbuckton) !

@rbuckton
Ron Buckton (rbuckton) merged commit 72406c6 into main Jun 9, 2023
@rbuckton
Ron Buckton (rbuckton) deleted the fix-weakmap-constructor branch June 9, 2023 21:17
@matthew-dean

Copy link
Copy Markdown

Is this released? I'm still getting issues with Argument of type 'symbol' is not assignable to parameter of type 'object'

@jakebailey

Copy link
Copy Markdown
Member

Yes, in TS 5.2 if you have your lib set to es2023. Playground Link

If you are having problems, consider filing an issue as old merged PRs are not a great place for bug reporting.

@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants