mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-25 16:59:45 +00:00
Fix explicit undefined interpreted as text by consumers (#1031)
This commit is contained in:
@@ -74,7 +74,7 @@ export abstract class BaseWidget<TWidget extends IBaseWidget = IBaseWidget> impl
|
|||||||
computeSize?(width?: number): Size
|
computeSize?(width?: number): Size
|
||||||
onPointerDown?(pointer: CanvasPointer, node: LGraphNode, canvas: LGraphCanvas): boolean
|
onPointerDown?(pointer: CanvasPointer, node: LGraphNode, canvas: LGraphCanvas): boolean
|
||||||
|
|
||||||
#value: TWidget["value"] = undefined
|
#value?: TWidget["value"]
|
||||||
get value(): TWidget["value"] {
|
get value(): TWidget["value"] {
|
||||||
return this.#value
|
return this.#value
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user