diff --git a/src/services/litegraphService.ts b/src/services/litegraphService.ts index 66067d997..0b8a7922e 100644 --- a/src/services/litegraphService.ts +++ b/src/services/litegraphService.ts @@ -147,7 +147,6 @@ export const useLitegraphService = () => { widget.label = st(nameKey, widget.label ?? inputName) widget.options ??= {} Object.assign(widget.options, { - inputIsOptional: inputSpec.isOptional, forceInput: inputSpec.forceInput, advanced: inputSpec.advanced, hidden: inputSpec.hidden diff --git a/src/types/litegraph-augmentation.d.ts b/src/types/litegraph-augmentation.d.ts index ed96d42d2..bc0f74aed 100644 --- a/src/types/litegraph-augmentation.d.ts +++ b/src/types/litegraph-augmentation.d.ts @@ -26,10 +26,6 @@ declare module '@comfyorg/litegraph/dist/types/widgets' { * The minimum size of the node if the widget is present. */ minNodeSize?: Size - /** - * Whether the widget is optional. - */ - inputIsOptional?: boolean /** * Whether the widget is forced to be an input. */