mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +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 */
|
||||
remove(node: LGraphNode): void;
|
||||
/** 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
|
||||
* @param classObject the class itself (not an string)
|
||||
|
||||
Reference in New Issue
Block a user