-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Make Iterable Map constructor argument optional #38153
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
Make Iterable Map constructor argument optional #38153
Conversation
|
Anything needed to get this merged? |
|
@typescript-bot user test this |
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
|
Looks like VS Code and Puppeteer fail to compile with this change. |
|
Is this possibly because this PR is now a couple months old? Should I try to rebase my changes on |
|
For VS Code, I just followed their instructions to clone and get started developing. Then I opened the file with the error. For puppeteer, you can probably skip that by running |
|
Puppeteer's error is of the form const m = new Map();
const v = m.get('k')
v.push // 'push' not found on 'unknown'Previously Edit: VS Code has the same problem as puppeteer. |
|
It could be that |
sandersn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a test to show that
const m = new Map()still has m: Map<any, any>
|
@JaredNeil did you want to keep working on this? |
|
This PR hasn't seen any activity for quite a while, so I'm going to close it to keep the number of open PRs manageable. Feel free to open a fresh PR or continue the discussion here. |
Fixes #37779