Enable ts-strict for commandStore (#1321)

This commit is contained in:
Chenlei Hu
2024-10-26 17:05:42 -04:00
committed by GitHub
parent 386594554e
commit dc3dab4e1c
4 changed files with 14 additions and 15 deletions

View File

@@ -148,6 +148,8 @@ export class ComfyApp {
canvasContainer: HTMLElement
menu: ComfyAppMenu
bypassBgColor: string
// Set by Comfy.Clipspace extension
openClipspace: () => void = () => {}
/**
* @deprecated Use useExecutionStore().executingNodeId instead

View File

@@ -611,7 +611,6 @@ export class ComfyUI {
$el('button', {
id: 'comfy-clipspace-button',
textContent: 'Clipspace',
// @ts-expect-error Move to ComfyApp
onclick: () => app.openClipspace()
}),
$el('button', {