mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-11 05:32:14 -05:00
Mark getSynthesizedDeepClone @internal
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user