react-hooks-global-states 1.0.0 → 1.0.1
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.
|
@@ -105,7 +105,7 @@ export type StoreTools<TState = any, TMetadata = any, TActions = any> = {
|
|
|
105
105
|
* @returns {ActionCollectionConfig<TState, TMetadata>} result - The action collection configuration
|
|
106
106
|
*/
|
|
107
107
|
export interface ActionCollectionConfig<TState, TMetadata = null> {
|
|
108
|
-
[key: string]: (...parameters: any[]) => (storeTools:
|
|
108
|
+
[key: string]: (...parameters: any[]) => (storeTools: any) => unknown | void;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* This is the actions object returned by the hook when you pass an storeActionsConfig configuration
|
package/package.json
CHANGED