diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index e5d1f83ea16..812354cb08d 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -281,11 +281,11 @@ export type FieldPatternTypes = export type FieldValidator = Validator export type FieldDataSource = { - label?: string - value?: string - title?: string - key?: string - text?: string + label?: any + value?: any + title?: any + key?: any + text?: any children?: FieldDataSource [key: string]: any }[]