ts-clone-node
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -15,3 +15,3 @@ import * as TS from "typescript"; | ||
}; | ||
type NodeHookValue<T extends MetaNode, Key extends keyof T> = T[Key] extends TS.NodeArray<infer ElementTypeA> ? ElementTypeA[] | TS.NodeArray<ElementTypeA> : T[Key] extends TS.NodeArray<infer ElementTypeB> | undefined ? ElementTypeB[] | TS.NodeArray<ElementTypeB> | undefined : T[Key]; | ||
type NodeHookValue<T extends MetaNode, Key extends keyof T> = T[Key] extends TS.NodeArray<infer ElementTypeA> ? ElementTypeA[] | readonly ElementTypeA[] | TS.NodeArray<ElementTypeA> : T[Key] extends TS.NodeArray<infer ElementTypeB> | undefined ? ElementTypeB[] | readonly ElementTypeB[] | TS.NodeArray<ElementTypeB> | undefined : T[Key]; | ||
interface CloneNodeHookFactoryPayload { | ||
@@ -18,0 +18,0 @@ depth: number; |
{ | ||
"name": "ts-clone-node", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A library that helps you clone Nodes from a Typescript AST", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
901294
4334