mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 10:12:11 +00:00
Update serialisation.ts (#624)
Update ISerialisedNodeInputSlot.widget type. Overwrite original widget prop type.
This commit is contained in:
@@ -40,7 +40,7 @@ export interface SerialisableGraph {
|
||||
extra?: Record<any, any>
|
||||
}
|
||||
|
||||
export type ISerialisedNodeInputSlot = Omit<INodeInputSlot, "_layoutElement"> & {
|
||||
export type ISerialisedNodeInputSlot = Omit<INodeInputSlot, "_layoutElement" | "widget"> & {
|
||||
widget?: { name: string }
|
||||
}
|
||||
export type ISerialisedNodeOutputSlot = Omit<INodeOutputSlot, "_layoutElement" | "_data">
|
||||
|
||||
Reference in New Issue
Block a user