mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-12 08:30:08 +00:00
[Type] Mark name as required prop for IBaseWidget (#623)
This commit is contained in:
@@ -123,9 +123,10 @@ export type TWidgetValue = IWidget["value"]
|
||||
export interface IBaseWidget<TElement extends HTMLElement = HTMLElement> {
|
||||
linkedWidgets?: IWidget[]
|
||||
|
||||
name: string
|
||||
options: IWidgetOptions
|
||||
|
||||
label?: string
|
||||
name?: string
|
||||
/** Widget type (see {@link TWidgetType}) */
|
||||
type?: TWidgetType
|
||||
value?: TWidgetValue
|
||||
|
||||
Reference in New Issue
Block a user