mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fix for tslint error
This commit is contained in:
@@ -121,7 +121,7 @@ namespace ts.refactor.convertArrowFunctionOrFunctionExpression {
|
||||
|
||||
const edits1 = textChanges.ChangeTracker.with(context, t => {
|
||||
t.delete(file, variableDeclaration);
|
||||
t.insertNodeAfter(file, statement!, newNode1);
|
||||
t.insertNodeAfter(file, statement, newNode1);
|
||||
});
|
||||
return { renameFilename: undefined, renameLocation: undefined, edits: edits1 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user