[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

@@ -247,14 +247,14 @@ class ImagePreviewWidget implements ICustomWidget {
draw(
ctx: CanvasRenderingContext2D,
node: LGraphNode,
widget_width: number,
_width: number,
y: number,
H: number
_height: number
): void {
renderPreview(ctx, node, y)
}
computeLayoutSize(this: IBaseWidget, node: LGraphNode) {
computeLayoutSize(this: IBaseWidget) {
return {
minHeight: 220,
minWidth: 1