mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 07:29:16 -05:00
Remove shadowed variable
This commit is contained in:
@@ -34,7 +34,6 @@ namespace ts.codefix {
|
||||
|
||||
return createCombinedCodeActions(textChanges.ChangeTracker.with(context, changes => {
|
||||
eachDiagnostic(context, errorCodes, diag => {
|
||||
const checker = program.getTypeChecker();
|
||||
const info = getInfo(diag.file, diag.start, checker);
|
||||
if (!info || !addToSeen(seen, getNodeId(info.parentDeclaration) + "#" + info.token.text)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user