[TS] Fix node constructor signature (#3276)

This commit is contained in:
Chenlei Hu
2025-03-29 20:55:11 -04:00
committed by GitHub
parent fcc22f06ac
commit 28def833f9
3 changed files with 4 additions and 8 deletions

View File

@@ -44,8 +44,7 @@ export const useLitegraphService = () => {
static nodeData?: ComfyNodeDefV1 & ComfyNodeDefV2
static category?: string
constructor(title?: string) {
// @ts-expect-error fixme ts strict error
constructor(title: string) {
super(title)
const nodeMinSize = { width: 1, height: 1 }