Skip to content

Conversation

@weswigham
Copy link
Member

Doesn't fix #23897 per sey, but makes it more apparent that we're eliding information in quickinfo (and not typechecking things wrong).

This is similar to the change I made in #28490 to make self-recursion locations print as ... instead of any.

There's still the issue of declaration emit for these types and such (and that today they emit as any without being an error) - having some way to alias a reverse mapped type in general would go a long way towards making these print better, I think.

@weswigham weswigham merged commit 004dc89 into microsoft:master Nov 13, 2018
@weswigham weswigham deleted the use-elipses-for-reverse-mapped-type-nesting branch November 13, 2018 02:50
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repeated mapped type inference causes incorrect typeToString results

2 participants