Skip to content

Commit 1e80b93

Browse files
committed
fix ts issue
1 parent 39a1282 commit 1e80b93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libs/visual-programming-system/src/interfaces/node-task-registry.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ export type NodeTask<T extends BaseNodeInfo> = {
7575
setTitle?: (newTitle: string) => void;
7676
};
7777

78-
export type NodeTypeRegistry<T extends BaseNodeInfo, TFlowEngine> = Record<
79-
string,
80-
NodeTaskFactory<T, TFlowEngine>
81-
>;
78+
export type NodeTypeRegistry<
79+
T extends BaseNodeInfo,
80+
TFlowEngine = unknown
81+
> = Record<string, NodeTaskFactory<T, TFlowEngine>>;
8282
export type RegisterComposition<T extends BaseNodeInfo> = (
8383
composition: Composition<T>
8484
) => void;

0 commit comments

Comments
 (0)