mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-01 19:20:10 +00:00
[Cleanup] Remove lint bypass, remove unused vars (#554)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user