react-hooks-global-states 12.0.0-beta.0 → 12.0.0

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.
@@ -159,5 +159,5 @@ export declare const createGlobalState: CreateGlobalState;
159
159
  * type CounterActions = InferActionsType<typeof useCounter>;
160
160
  * ```
161
161
  */
162
- export type InferActionsType<Hook extends StateHook<any, any, BaseMetadata>> = ReturnType<Hook['actions']>['1'];
162
+ export type InferActionsType<Hook extends StateHook<any, any, any>> = ReturnType<Hook['actions']>['1'];
163
163
  export default createGlobalState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-hooks-global-states",
3
- "version": "12.0.0-beta.0",
3
+ "version": "12.0.0",
4
4
  "description": "This is a package to easily handling global-state across your react-components using hooks.",
5
5
  "main": "./bundle.js",
6
6
  "types": "./index.d.ts",