Skip to content

Commit 53ee590

Browse files
authored
[TS] Fix serialisation type (#3541)
1 parent f82bb71 commit 53ee590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/litegraphService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import {
22
type IContextMenuValue,
3-
type INodeInputSlot,
43
LGraphEventMode,
54
LGraphNode,
65
LiteGraph,
76
RenderShape,
87
type Vector2
98
} from '@comfyorg/litegraph'
109
import type {
10+
ISerialisableNodeInput,
1111
ISerialisableNodeOutput,
1212
ISerialisedNode
1313
} from '@comfyorg/litegraph/dist/types/serialisation'
@@ -222,7 +222,7 @@ export const useLitegraphService = () => {
222222

223223
// Note: input name is unique in a node definition, so we can lookup
224224
// input by name.
225-
const inputByName = new Map<string, INodeInputSlot>(
225+
const inputByName = new Map<string, ISerialisableNodeInput>(
226226
data.inputs?.map((input) => [input.name, input]) ?? []
227227
)
228228
// Inputs defined by the node definition.

0 commit comments

Comments
 (0)