From df5a0420997c2eeeaee43ccf30ab902f54fe6800 Mon Sep 17 00:00:00 2001 From: Shan M Date: Mon, 20 Apr 2020 16:50:53 +0300 Subject: [PATCH] nodes attribute in selectNodes function is optional --- src/litegraph.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/litegraph.d.ts b/src/litegraph.d.ts index d1161672c..69220a8df 100644 --- a/src/litegraph.d.ts +++ b/src/litegraph.d.ts @@ -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 */