[Cleanup] Remove lint bypass, remove unused vars (#554)

This commit is contained in:
filtered
2025-02-20 11:17:35 +11:00
committed by GitHub
parent 485bfd1628
commit b67f34e7f3
6 changed files with 11 additions and 23 deletions

View File

@@ -1064,7 +1064,7 @@ export class LGraphNode implements Positionable, IPinnable, IColorable {
const trigS = this.findInputSlot("onTrigger")
// !trigS ||
if (trigS == -1) {
const input = this.addInput("onTrigger", LiteGraph.EVENT, {
this.addInput("onTrigger", LiteGraph.EVENT, {
optional: true,
nameLocked: true,
})
@@ -1077,7 +1077,7 @@ export class LGraphNode implements Positionable, IPinnable, IColorable {
const trigS = this.findOutputSlot("onExecuted")
// !trigS ||
if (trigS == -1) {
const output = this.addOutput("onExecuted", LiteGraph.ACTION, {
this.addOutput("onExecuted", LiteGraph.ACTION, {
optional: true,
nameLocked: true,
})