Convert vanilla workflow tests

This commit is contained in:
space-nuko
2023-05-21 18:00:27 -05:00
parent 9c4e5cea94
commit c4fe7e0bf1
4 changed files with 43 additions and 2 deletions

View File

@@ -166,7 +166,6 @@ function isVanillaWorkflow(data: any): data is SerializedLGraph {
}
type BackendNodeDef = {
ctor: new (title?: string) => ComfyBackendNode,
nodeDef: ComfyNodeDef
}
@@ -358,7 +357,6 @@ export default class ComfyApp {
LiteGraph.registerNodeType(node);
node.category = nodeDef.category;
ComfyApp.knownBackendNodes[nodeId] = {
ctor,
nodeDef
}