Skip to content

Remove createUnderscoreEscapedMultiMap#53029

Merged
jakebailey merged 1 commit into
microsoft:mainfrom
jakebailey:cleanup-stuff-1
Feb 28, 2023
Merged

Remove createUnderscoreEscapedMultiMap#53029
jakebailey merged 1 commit into
microsoft:mainfrom
jakebailey:cleanup-stuff-1

Conversation

@jakebailey

Copy link
Copy Markdown
Member

createMultiMap works fine with __String, so I think we can remove this.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Feb 28, 2023
@jakebailey

Copy link
Copy Markdown
Member Author

That being said, I'm not sure why we have a specific type for underscore escaped maps either; was that just an artifact of the pre-ES maps change?

@DanielRosenwasser

Copy link
Copy Markdown
Member

Probably, since ts.Map only used to accept string keys, but maybe not __String keys.

@DanielRosenwasser

Copy link
Copy Markdown
Member

@typescript-bot perf test faster

@typescript-bot

typescript-bot commented Feb 28, 2023

Copy link
Copy Markdown
Contributor

Heya @DanielRosenwasser, I've started to run the abridged perf test suite on this PR at 2adfe45. You can monitor the build here.

@jakebailey

Copy link
Copy Markdown
Member Author

Yeah. I'll probably tack that removal on here, then, if it compiles that is.

@jakebailey

Copy link
Copy Markdown
Member Author

Ugh, those types are public, of course.

@jakebailey

Copy link
Copy Markdown
Member Author

I'll send a different PR for that cleanup so this one doesn't have a public API change.

@jakebailey jakebailey merged commit a037407 into microsoft:main Feb 28, 2023
@jakebailey jakebailey deleted the cleanup-stuff-1 branch February 28, 2023 21:21
@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.

3 participants