mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 02:02:08 +00:00
[skip ci] fix getNodeById arg type (#124)
This commit is contained in:
2
public/litegraph.d.ts
vendored
2
public/litegraph.d.ts
vendored
@@ -508,7 +508,7 @@ export declare class LGraph {
|
|||||||
/** Removes a node from the graph */
|
/** Removes a node from the graph */
|
||||||
remove(node: LGraphNode): void;
|
remove(node: LGraphNode): void;
|
||||||
/** Returns a node by its id. */
|
/** Returns a node by its id. */
|
||||||
getNodeById(id: number): LGraphNode | undefined;
|
getNodeById(id: number | string): LGraphNode | undefined;
|
||||||
/**
|
/**
|
||||||
* Returns a list of nodes that matches a class
|
* Returns a list of nodes that matches a class
|
||||||
* @param classObject the class itself (not an string)
|
* @param classObject the class itself (not an string)
|
||||||
|
|||||||
Reference in New Issue
Block a user