mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
[TS] Remove unnecessary type redeclaration
This commit is contained in:
16
src/types/litegraph-augmentation.d.ts
vendored
16
src/types/litegraph-augmentation.d.ts
vendored
@@ -75,22 +75,6 @@ declare module '@comfyorg/litegraph' {
|
|||||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||||
interface BaseWidget extends IBaseWidget {}
|
interface BaseWidget extends IBaseWidget {}
|
||||||
|
|
||||||
/** Actual members required for execution. */
|
|
||||||
type ExecutableLGraphNode = Pick<
|
|
||||||
LGraphNode,
|
|
||||||
| 'id'
|
|
||||||
| 'type'
|
|
||||||
| 'comfyClass'
|
|
||||||
| 'title'
|
|
||||||
| 'mode'
|
|
||||||
| 'inputs'
|
|
||||||
| 'widgets'
|
|
||||||
| 'isVirtualNode'
|
|
||||||
| 'applyToGraph'
|
|
||||||
| 'getInputNode'
|
|
||||||
| 'getInputLink'
|
|
||||||
>
|
|
||||||
|
|
||||||
interface LGraphNode {
|
interface LGraphNode {
|
||||||
constructor: LGraphNodeConstructor
|
constructor: LGraphNodeConstructor
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user