@cfinnestad/react-form-builder 1.0.35 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,6 +136,7 @@ export type ListItem = BaseItem & {
136
136
  minListSize: number;
137
137
  maxListSize: number;
138
138
  baseItem: InListItem;
139
+ errorText?: string;
139
140
  };
140
141
  export type GroupItem = NamedItem & {
141
142
  type: 'Group';
@@ -442,4 +443,5 @@ export declare function isNamed(item: AnyItem): item is NamedItem;
442
443
  export declare function isList(item: AnyItem): item is ListItem;
443
444
  export declare function isListItem(item: AnyItem): item is InListItem;
444
445
  export declare function hasFiles(items: AnyItem[], allItems?: AnyItem[]): boolean;
445
- export declare function itemCloneDeep<T>(items: T): T;
446
+ export declare function itemsCloneDeep(items: AnyItem[]): AnyItem[];
447
+ export declare function itemCloneDeep(item: AnyItem): AnyItem;