mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 01:39:28 -06:00
Remove shadowed variable
This commit is contained in:
parent
f3bc891ae9
commit
e0109ea93e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user