mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Mark getSynthesizedDeepClone @internal
This commit is contained in:
1 parent
ad148dbc88
commit
5c9f8c56d9
1 file changed
+1
@@ -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