mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-03 12:42:01 +00:00
[Type] Disallow type upcasting for node input spec (#2790)
This commit is contained in:
@@ -82,6 +82,7 @@ export const useStringWidget = () => {
|
||||
}
|
||||
|
||||
if (inputData[1]?.dynamicPrompts != undefined)
|
||||
// @ts-expect-error InputSpec is not typed correctly
|
||||
res.widget.dynamicPrompts = inputData[1].dynamicPrompts
|
||||
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user