nodes attribute in selectNodes function is optional

This commit is contained in:
Shan M
2020-04-20 16:50:53 +03:00
committed by GitHub
parent bb1ce7b899
commit df5a042099

2
src/litegraph.d.ts vendored
View File

@@ -1216,7 +1216,7 @@ export declare class LGraphCanvas {
/** selects a given node (or adds it to the current selection) */
selectNode(node: LGraphNode, add?: boolean): void;
/** selects several nodes (or adds them to the current selection) */
selectNodes(nodes: LGraphNode[], add?: boolean): void;
selectNodes(nodes?: LGraphNode[], add?: boolean): void;
/** removes a node from the current selection */
deselectNode(node: LGraphNode): void;
/** removes all nodes from the current selection */