[TS] Properly type slot widget (#3305)

This commit is contained in:
Chenlei Hu
2025-04-01 15:13:46 -04:00
committed by GitHub
parent b80e0e1a3c
commit cfaf769a65
5 changed files with 17 additions and 21 deletions

View File

@@ -384,8 +384,8 @@ export class GroupNodeConfig {
const widget = [targetWidget[0], config]
const res = mergeIfValid(
// @ts-expect-error invalid slot type
{
// @ts-expect-error fixme ts strict error
widget
},
targetWidget,