We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a1282 commit 1e80b93Copy full SHA for 1e80b93
libs/visual-programming-system/src/interfaces/node-task-registry.ts
@@ -75,10 +75,10 @@ export type NodeTask<T extends BaseNodeInfo> = {
75
setTitle?: (newTitle: string) => void;
76
};
77
78
-export type NodeTypeRegistry<T extends BaseNodeInfo, TFlowEngine> = Record<
79
- string,
80
- NodeTaskFactory<T, TFlowEngine>
81
->;
+export type NodeTypeRegistry<
+ T extends BaseNodeInfo,
+ TFlowEngine = unknown
+> = Record<string, NodeTaskFactory<T, TFlowEngine>>;
82
export type RegisterComposition<T extends BaseNodeInfo> = (
83
composition: Composition<T>
84
) => void;
0 commit comments