[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

@@ -83,21 +83,21 @@ export abstract class BaseWidget implements IBaseWidget {
* Handles the click event for the widget
* @param options - The options for handling the click event
*/
onClick(options: {
abstract onClick(options: {
e: CanvasMouseEvent
node: LGraphNode
canvas: LGraphCanvas
}): void {}
}): void
/**
* Handles the drag event for the widget
* @param options - The options for handling the drag event
*/
onDrag(options: {
onDrag?(options: {
e: CanvasMouseEvent
node: LGraphNode
canvas: LGraphCanvas
}): void {}
}): void
/**
* Sets the value of the widget