mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-23 07:50:15 +00:00
Use LiteGraph validation for node search->create (#822)
Adds LiteGraph type to augmentation until LG types are auto-generated Removes @ts-expect-error
This commit is contained in:
@@ -130,7 +130,6 @@ app.registerExtension({
|
||||
: null
|
||||
if (
|
||||
inputType &&
|
||||
// @ts-expect-error Will self-resolve when LiteGraph types are generated
|
||||
!LiteGraph.isValidConnection(inputType, nodeOutType)
|
||||
) {
|
||||
// The output doesnt match our input so disconnect it
|
||||
|
||||
Reference in New Issue
Block a user