[TS] Enable noUnusedParameters (#3110)

This commit is contained in:
Chenlei Hu
2025-03-17 16:47:45 -04:00
committed by GitHub
parent 7e66e99c3a
commit 7af003fcab
31 changed files with 79 additions and 93 deletions

View File

@@ -92,7 +92,7 @@ export function $el<TTag extends string>(
return element as ElementType<TTag>
}
function dragElement(dragEl, settings): () => void {
function dragElement(dragEl): () => void {
var posDiffX = 0,
posDiffY = 0,
posStartX = 0,
@@ -640,7 +640,7 @@ export class ComfyUI {
// Hide by default on construction so it does not interfere with other views.
this.menuContainer.style.display = 'none'
this.restoreMenuPosition = dragElement(this.menuContainer, this.settings)
this.restoreMenuPosition = dragElement(this.menuContainer)
// @ts-expect-error
this.setStatus({ exec_info: { queue_remaining: 'X' } })