mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-25 00:39:49 +00:00
[TS] Fix node constructor signature (#3276)
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user