Set known slot in/out types

This commit is contained in:
space-nuko
2023-05-17 15:51:05 -05:00
parent 2a8b76b1f4
commit fe3efe1154
8 changed files with 173 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ export type ComfyNodeDefInputs = {
optional?: Record<string, ComfyNodeDefInput>
}
export type ComfyNodeDefInput = [ComfyNodeDefInputType, ComfyNodeDefInputOptions | null]
export type ComfyNodeDefInputType = string[] | keyof typeof ComfyWidgets | string
export type ComfyNodeDefInputType = any[] | keyof typeof ComfyWidgets | string
export type ComfyNodeDefInputOptions = {
forceInput?: boolean
}