mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-21 04:17:02 -06:00
Mark getSynthesizedDeepClone @internal
This commit is contained in:
parent
ad148dbc88
commit
5c9f8c56d9
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user