react-toolkits 2.14.7 → 2.14.8
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.
- package/CHANGELOG.md +6 -0
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -203,12 +203,12 @@ declare enum QueryListAction {
|
|
|
203
203
|
Jump = 2,
|
|
204
204
|
Init = 3
|
|
205
205
|
}
|
|
206
|
-
interface QueryListRef<Item, Values, Data> {
|
|
206
|
+
interface QueryListRef<Item extends AnyObject = AnyObject, Values = AnyObject, Data = any> {
|
|
207
207
|
data: Data | undefined;
|
|
208
208
|
dataSource: Item[] | undefined;
|
|
209
209
|
form: FormInstance<Values>;
|
|
210
210
|
}
|
|
211
|
-
interface QueryListProps<Item, Values, Data> extends Omit<TableProps<Item>, 'pagination' | 'dataSource' | 'loading' | 'footer'>, Pick<FilterFormWrapperProps, 'buttonsAlign' | 'showReset'> {
|
|
211
|
+
interface QueryListProps<Item extends AnyObject = AnyObject, Values = AnyObject, Data = any> extends Omit<TableProps<Item>, 'pagination' | 'dataSource' | 'loading' | 'footer'>, Pick<FilterFormWrapperProps, 'buttonsAlign' | 'showReset'> {
|
|
212
212
|
url: string;
|
|
213
213
|
code?: string;
|
|
214
214
|
form?: FormInstance<Values>;
|