fix for tslint error

This commit is contained in:
BigAru
2018-10-18 14:47:39 +02:00
parent c25726e764
commit 7c78cd5c6f
@@ -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 };
}