Add setProperty to typescript definition

This commit is contained in:
Ranuka Perera
2022-10-24 14:31:54 +05:30
parent 376f6434e8
commit 8cc0cd39ff

2
src/litegraph.d.ts vendored
View File

@@ -666,6 +666,8 @@ export declare class LGraphNode {
toString(): string;
/** get the title string */
getTitle(): string;
/** sets the value of a property */
setProperty(name: string, value: any): void;
/** sets the output data */
setOutputData(slot: number, data: any): void;
/** sets the output data */