Download ComfyUI-Crystools/web/comfy/liteGraph.types.d.ts from MarkLilly/mis-custom-nodes: direct link, hf CLI and curl.
- Browser
- Download file 631 Bytes
-
https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/ComfyUI-Crystools/web/comfy/liteGraph.types.d.ts
- Command line
-
hf download hf://MarkLilly/mis-custom-nodes/ComfyUI-Crystools/web/comfy/liteGraph.types.d.ts
-
curl -L -o liteGraph.types.d.ts https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/ComfyUI-Crystools/web/comfy/liteGraph.types.d.ts
631 Bytes
| // A LOTS OF PATCHES FOR LITEGRAPH TYPES ¯\_(ツ)_/¯ | |
| import { LGraph } from './typings/litegraph.js'; | |
| export type * from './typings/litegraph.js'; | |
| export declare type TypeLiteGraph = typeof LiteGraph & { | |
| graph: LGraph; | |
| }; | |
| // export declare type ComfyApi = typeof api; | |
| export declare type ComfyNode = any; | |
| // I prefer not use global, but if I change of opinion: | |
| // / <reference path="./types.ts" /> | |
| // import { LGraphNode as TLGraphNode, LiteGraph as TLiteGraph } from '/types/litegraph'; | |
| // export declare const LGraphNode: typeof TLGraphNode; | |
| // declare global { | |
| // const LGraphNode: LGraphNode; | |
| // } | |