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

Leading underscore doesn't disable error on unused type parameter #18420

Closed
RyanCavanaugh opened this issue Sep 12, 2017 · 1 comment
Closed
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue Help Wanted You can do this

Comments

@RyanCavanaugh
Copy link
Member

From #18370

This reports an unused local error on _T, which we shouldn't do because it has a leading underscore

type Foo<_T> = { };
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Sep 12, 2017
@RyanCavanaugh RyanCavanaugh added this to the TypeScript 2.6 milestone Sep 12, 2017
@RyanCavanaugh RyanCavanaugh assigned ghost Sep 12, 2017
@mhegazy mhegazy removed this from the TypeScript 2.6 milestone Sep 12, 2017
@mhegazy mhegazy unassigned ghost Sep 12, 2017
@mhegazy mhegazy added the Help Wanted You can do this label Sep 12, 2017
@mhegazy mhegazy added this to the Community milestone Sep 12, 2017
@mhegazy
Copy link
Contributor

mhegazy commented Sep 12, 2017

PRs welcomed

@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Sep 19, 2017
@mhegazy mhegazy modified the milestones: Community, TypeScript 2.6 Sep 19, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

2 participants