react-toolkits 0.8.30 → 0.8.31

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.31
4
+
5
+ ### Patch Changes
6
+
7
+ - 491415d: fix: type declaration error
8
+
3
9
  ## 0.8.30
4
10
 
5
11
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -364,7 +364,7 @@ export declare interface UseFormModalProps<Values, ExtraValues> extends Omit<Use
364
364
  formProps?: Omit<FormProps, 'form'>;
365
365
  form?: FormInstance<Values>;
366
366
  content?: ReactNode | ((extraValues: ExtraValues) => ReactNode);
367
- onConfirm?: (values: Values, extraValues?: ExtraValues) => void | Promise<void>;
367
+ onConfirm?: (values: Values, extraValues: ExtraValues) => void | Promise<void>;
368
368
  }
369
369
 
370
370
  export declare const useGameStore: UseBoundStore<Omit<StoreApi<GameState>, "persist"> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-toolkits",
3
- "version": "0.8.30",
3
+ "version": "0.8.31",
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
- "tsconfig": "0.0.5",
74
- "tailwind-config": "0.1.1"
73
+ "tailwind-config": "0.1.1",
74
+ "tsconfig": "0.0.5"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "antd": "^5.12.2",