removed unused function

This commit is contained in:
Ron Buckton 2016-02-03 18:26:43 -08:00
parent c3faf0f34e
commit 3855261796

View file

@ -649,15 +649,6 @@ namespace ts {
}
}
/**
* Gets a mutable Node for updates, setting the `original` pointer on the Node.
*/
function updateNode<T extends Node>(node: T, flags: NodeFlags) {
const updated = cloneNode(node, /*location*/ node, flags, /*parent*/ undefined, /*original*/ node);
updated.original = node;
return updated;
}
/**
* Merge generated declarations of a lexical environment.
*/