Skip to content

Deprecate UnderscoreEscapedMap and remove internal uses#53032

Merged
jakebailey merged 3 commits into
microsoft:mainfrom
jakebailey:cleanup-stuff-2
Mar 1, 2023
Merged

Deprecate UnderscoreEscapedMap and remove internal uses#53032
jakebailey merged 3 commits into
microsoft:mainfrom
jakebailey:cleanup-stuff-2

Conversation

@jakebailey

Copy link
Copy Markdown
Member

Follow up to #53029.

I wish I had done this before 5.0 with the other Map removals I did, but, I apparently thought we needed them when we actually don't.

So, just migrate us and deprecate the old types as aliases. Not sure anyone actually uses them, but, oh well.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Feb 28, 2023
for (const anon of anons) {
for (const p of checker.getPropertiesOfType(anon)) {
props.add(p.name, p.valueDeclaration ? checker.getTypeOfSymbolAtLocation(p, p.valueDeclaration) : checker.getAnyType());
props.add(p.escapedName, p.valueDeclaration ? checker.getTypeOfSymbolAtLocation(p, p.valueDeclaration) : checker.getAnyType());

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an actual bug I'm pretty sure.

@jakebailey jakebailey merged commit ca1cf3d into microsoft:main Mar 1, 2023
@jakebailey jakebailey deleted the cleanup-stuff-2 branch March 1, 2023 00:55
@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