[TS] Properly type slot widget (#3305)

This commit is contained in:
Chenlei Hu
2025-04-01 15:13:46 -04:00
committed by GitHub
parent b80e0e1a3c
commit cfaf769a65
5 changed files with 17 additions and 21 deletions

View File

@@ -186,7 +186,7 @@ declare module '@comfyorg/litegraph' {
* We should remove this hacky solution once we have a proper solution.
*/
interface INodeOutputSlot {
widget?: IWidget
widget?: { name: string; [key: symbol]: unknown }
}
}