From 2958f443c2492bcce1d67920d117b933dfcc2289 Mon Sep 17 00:00:00 2001 From: Lucas Nascimento Date: Thu, 28 Jan 2021 00:09:40 -0300 Subject: [PATCH] TS support about LGraphNode.has_errors --- src/litegraph.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/litegraph.d.ts b/src/litegraph.d.ts index 9d3d37c029..1e4d601fa2 100644 --- a/src/litegraph.d.ts +++ b/src/litegraph.d.ts @@ -645,6 +645,8 @@ export declare class LGraphNode { resizable: boolean; /** slots are distributed horizontally */ horizontal: boolean; + /** if true, the node will show the bgcolor as 'red' */ + has_errors?: boolean; /** configure a node from an object containing the serialized info */ configure(info: SerializedLGraphNode): void;