Change watchdog tagged users (#51411)

This commit is contained in:
Andrew Casey
2022-11-04 15:23:08 -07:00
committed by GitHub
parent 5e3fa9b87b
commit f1d62f4dc4
2 changed files with 2 additions and 2 deletions

View File

@@ -1016,7 +1016,7 @@ namespace ts.refactor.extractSymbol {
newNodes.push(factory.createVariableStatement(
/*modifiers*/ undefined,
factory.createVariableDeclarationList(
[factory.createVariableDeclaration(getSynthesizedDeepClone(variableDeclaration.name), /*exclamationToken*/ undefined, /*type*/ getSynthesizedDeepClone(variableDeclaration.type), /*initializer*/ call)], // TODO (acasey): test binding patterns
[factory.createVariableDeclaration(getSynthesizedDeepClone(variableDeclaration.name), /*exclamationToken*/ undefined, /*type*/ getSynthesizedDeepClone(variableDeclaration.type), /*initializer*/ call)],
variableDeclaration.parent.flags)));
}
else {