TS support about LGraphNode.has_errors

This commit is contained in:
Lucas Nascimento
2021-01-28 00:09:40 -03:00
parent e6147b7217
commit 2958f443c2

2
src/litegraph.d.ts vendored
View File

@@ -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;