[TS] Enable noUnusedLocals (#3108)

This commit is contained in:
Chenlei Hu
2025-03-17 16:20:56 -04:00
committed by GitHub
parent 9e9459815d
commit 7e66e99c3a
28 changed files with 27 additions and 248 deletions

View File

@@ -87,7 +87,7 @@ const canvasEventHandler = (event: LiteGraphCanvasEvent) => {
}
const group: LGraphGroup = event.detail.group
const [x, y] = group.pos
const [_, y] = group.pos
const e = event.detail.originalEvent
const relativeY = e.canvasY - y
@@ -101,7 +101,7 @@ const canvasEventHandler = (event: LiteGraphCanvasEvent) => {
}
const node: LGraphNode = event.detail.node
const [x, y] = node.pos
const [_, y] = node.pos
const e = event.detail.originalEvent
const relativeY = e.canvasY - y