Merge pull request #196 from Kidoncio/ts_has_errors

TS support about LGraphNode.has_errors
This commit is contained in:
Javi Agenjo
2021-01-29 10:50:07 +01:00
committed by GitHub

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;