Skip to content
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

'infer' type parameters declarations aren't printed in quick info. #21836

Closed
DanielRosenwasser opened this issue Feb 9, 2018 · 2 comments
Closed
Labels
Bug A bug in TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions. Domain: Quick Info e.g. hover text, tool-tips, and tooltips. Effort: Difficult Good luck. Fixed A PR has been merged for this issue

Comments

@DanielRosenwasser
Copy link
Member

Found by @weswigham

type Alias<T> = T extends (infer U)[] ? U : never;

Request quick info on Alias.

Expected: type Alias<T> = T extends (infer U)[] ? U : never

Actual: type Alias<T> = T extends U[] ? U : never

@DanielRosenwasser DanielRosenwasser added the Bug A bug in TypeScript label Feb 9, 2018
@mhegazy mhegazy self-assigned this Feb 9, 2018
@mhegazy mhegazy added this to the TypeScript 2.8 milestone Feb 9, 2018
@mhegazy mhegazy added Domain: Quick Fixes Editor-provided fixes, often called code actions. and removed Domain: Quick Fixes Editor-provided fixes, often called code actions. labels Feb 12, 2018
@mhegazy mhegazy modified the milestones: TypeScript 2.8, TypeScript 2.9 Mar 9, 2018
@DanielRosenwasser DanielRosenwasser added the Domain: Quick Info e.g. hover text, tool-tips, and tooltips. label May 24, 2018
@mhegazy mhegazy modified the milestones: TypeScript 3.0, Future Jul 2, 2018
@Kingwl
Copy link
Contributor

Kingwl commented Dec 4, 2018

seems already fixed, doesn't it?
image

@DanielRosenwasser
Copy link
Member Author

Good catch!

@DanielRosenwasser DanielRosenwasser added the Fixed A PR has been merged for this issue label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: Quick Fixes Editor-provided fixes, often called code actions. Domain: Quick Info e.g. hover text, tool-tips, and tooltips. Effort: Difficult Good luck. Fixed A PR has been merged for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants