Skip to content

fixUnusedIdentifier: If every VariableDeclaration is unused, remove the VariableStatement #24231

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

Merged
1 commit merged into from
May 21, 2018

Conversation

ghost
Copy link

@ghost ghost commented May 17, 2018

Previously removing all unused declarations for let a, b; would result in let ;.

@ghost ghost requested review from amcasey and sheetalkamat May 17, 2018 22:45
@ghost ghost force-pushed the unused_vardecl branch 3 times, most recently from 9be7bb4 to 75c458a Compare May 18, 2018 17:58
@ghost ghost force-pushed the unused_vardecl branch from 75c458a to e80f5d0 Compare May 18, 2018 18:14
@ghost ghost merged commit 802dc2b into master May 21, 2018
@ghost ghost deleted the unused_vardecl branch May 21, 2018 22:54
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
This pull request was closed.
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.

1 participant