mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
Merge pull request #198 from Kidoncio/ts_disconnect_output
TS support about LGraphNode.disconnectOutput
This commit is contained in:
2
src/litegraph.d.ts
vendored
2
src/litegraph.d.ts
vendored
@@ -860,7 +860,7 @@ export declare class LGraphNode {
|
|||||||
* @param target_node the target node to which this slot is connected [Optional, if not target_node is specified all nodes will be disconnected]
|
* @param target_node the target node to which this slot is connected [Optional, if not target_node is specified all nodes will be disconnected]
|
||||||
* @return if it was disconnected successfully
|
* @return if it was disconnected successfully
|
||||||
*/
|
*/
|
||||||
disconnectOutput(slot: number | string, targetNode: LGraphNode): boolean;
|
disconnectOutput(slot: number | string, targetNode?: LGraphNode): boolean;
|
||||||
/**
|
/**
|
||||||
* disconnect one input
|
* disconnect one input
|
||||||
* @param slot (could be the number of the slot or the string with the name of the slot)
|
* @param slot (could be the number of the slot or the string with the name of the slot)
|
||||||
|
|||||||
Reference in New Issue
Block a user