Skip to content

Type alias: ToGraphNode<T> ​

Ƭ ToGraphNode<T>: GraphNode<T extends Node<infer Data> ? Data : never, T extends Node<any, infer Events> ? Events : never, T extends Node<any, any, infer Type> ? Type : never>

Transform a Node type to a GraphNode type

Type parameters ​

NameType
Textends Node

Released under the MIT License.