@redhat-cloud-services/frontend-components-utilities 3.2.19 → 3.2.20
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/Registry/Registry.d.ts +5 -3
- package/package.json +1 -1
package/Registry/Registry.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export let registry: any
|
|
1
|
+
import { Middleware, compose } from 'redux';
|
|
2
|
+
import ReducerRegistry from '../ReducerRegistry';
|
|
3
|
+
export declare let registry: ReducerRegistry<any>;
|
|
4
|
+
export declare function registryDecorator(): (target: React.ComponentClass) => void;
|
|
5
|
+
export declare function getRegistry<T extends Record<string, unknown>>(initialState?: T, middleware?: Middleware[], composeEnhancersDefault?: typeof compose): ReducerRegistry<any>;
|
|
4
6
|
export default registryDecorator;
|