react-toolkits 0.8.49 → 0.8.50

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 0.8.50
4
+
5
+ ### Patch Changes
6
+
7
+ - 5d662f0: fix: ts types error
8
+
3
9
  ## 0.8.49
4
10
 
5
11
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -280,7 +280,7 @@ declare interface QueryListDataType<Item, Response> {
280
280
  originalData: Response;
281
281
  }
282
282
 
283
- declare type QueryListMutator = <T = any>(action: string, data?: QueryListDataType<T> | Promise<QueryListDataType<T>> | MutatorCallback<QueryListDataType<T>>, opts?: MutatorOptions<QueryListDataType<T>>) => void;
283
+ declare type QueryListMutator = <Item = any, Response = any>(action: string, data?: QueryListDataType<Item, Response> | Promise<QueryListDataType<Item, Response>> | MutatorCallback<QueryListDataType<Item, Response>>, opts?: MutatorOptions<QueryListDataType<Item, Response>>) => void;
284
284
 
285
285
  declare interface QueryListPayload<FormValues = any> {
286
286
  page?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-toolkits",
3
- "version": "0.8.49",
3
+ "version": "0.8.50",
4
4
  "packageManager": "^pnpm@8.7.5",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -70,8 +70,8 @@
70
70
  "vite": "^5.0.10",
71
71
  "vite-plugin-dts": "^3.6.4",
72
72
  "@flow97/eslint-config-mono": "0.0.4",
73
- "tailwind-config": "0.1.1",
74
- "tsconfig": "0.0.5"
73
+ "tsconfig": "0.0.5",
74
+ "tailwind-config": "0.1.1"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "antd": "^5.12.2",