Skip to content

Commit ab1c237

Browse files
authored
Merge pull request jagenjo#324 from SRChiP/add-set-property
Add setProperty to typescript definition
2 parents 376f643 + 8cc0cd3 commit ab1c237

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/litegraph.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@ export declare class LGraphNode {
666666
toString(): string;
667667
/** get the title string */
668668
getTitle(): string;
669+
/** sets the value of a property */
670+
setProperty(name: string, value: any): void;
669671
/** sets the output data */
670672
setOutputData(slot: number, data: any): void;
671673
/** sets the output data */

0 commit comments

Comments
 (0)