mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-19 16:47:32 -06:00
removed unused function
This commit is contained in:
parent
c3faf0f34e
commit
3855261796
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user