mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
Update types (#14)
This commit is contained in:
6
src/litegraph.d.ts
vendored
6
src/litegraph.d.ts
vendored
@@ -147,9 +147,11 @@ export type ContextMenuEventListener = (
|
|||||||
) => boolean | void;
|
) => boolean | void;
|
||||||
|
|
||||||
export type LinkReleaseContext = {
|
export type LinkReleaseContext = {
|
||||||
node_from: LGraphNode;
|
node_to?: LGraphNode;
|
||||||
|
node_from?: LGraphNode;
|
||||||
slot_from: INodeSlot;
|
slot_from: INodeSlot;
|
||||||
type_filter_in: string;
|
type_filter_in?: string;
|
||||||
|
type_filter_out?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type LiteGraphCanvasEventType = "empty-release" | "empty-double-click";
|
export type LiteGraphCanvasEventType = "empty-release" | "empty-double-click";
|
||||||
|
|||||||
Reference in New Issue
Block a user