Mark getSynthesizedDeepClone @internal

This commit is contained in:
Andrew Casey 2017-10-06 10:20:12 -07:00
parent ad148dbc88
commit 5c9f8c56d9

View File

@ -74,6 +74,7 @@ namespace ts {
/**
* Creates a deep, memberwise clone of a node with no source map location.
*/
/* @internal */
export function getSynthesizedDeepClone<T extends Node>(node: T | undefined): T | undefined {
return node
? getSynthesizedClone(visitEachChild(node, child => getSynthesizedDeepClone(child), nullTransformationContext))