mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
test: remove any from SubgraphWidgetPromotion.test.ts
- Replace widgetValue: any with unknown in createNodeWithWidget helper
This commit is contained in:
@@ -18,7 +18,7 @@ import {
|
||||
function createNodeWithWidget(
|
||||
title: string,
|
||||
widgetType: TWidgetType = 'number',
|
||||
widgetValue: any = 42,
|
||||
widgetValue: unknown = 42,
|
||||
slotType: ISlotType = 'number',
|
||||
tooltip?: string
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user