mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-25 16:59:45 +00:00
[Type] Disallow type upcasting for node input spec (#2790)
This commit is contained in:
@@ -17,6 +17,7 @@ export const useBooleanWidget = () => {
|
||||
}
|
||||
|
||||
return {
|
||||
// @ts-expect-error InputSpec is not typed correctly
|
||||
widget: node.addWidget('toggle', inputName, defaultVal, () => {}, options)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user