piral-redux 0.15.11-beta.5506 → 0.15.12-beta.5528
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/esm/types.d.ts +2 -2
- package/lib/types.d.ts +2 -2
- package/package.json +3 -3
package/esm/types.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface PiralReduxActions extends PiralReduxCustomActions {
|
|
|
39
39
|
action: any;
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
export
|
|
42
|
+
export type ReducerUnion<T> = {
|
|
43
43
|
[P in keyof T]: T[P] extends Action<any> ? T[P] : never;
|
|
44
44
|
}[keyof T];
|
|
45
|
-
export
|
|
45
|
+
export type PiralReduxStore = Store<PiralReduxState, ReducerUnion<PiralReduxActions>>;
|
package/lib/types.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export interface PiralReduxActions extends PiralReduxCustomActions {
|
|
|
39
39
|
action: any;
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
export
|
|
42
|
+
export type ReducerUnion<T> = {
|
|
43
43
|
[P in keyof T]: T[P] extends Action<any> ? T[P] : never;
|
|
44
44
|
}[keyof T];
|
|
45
|
-
export
|
|
45
|
+
export type PiralReduxStore = Store<PiralReduxState, ReducerUnion<PiralReduxActions>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-redux",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.12-beta.5528",
|
|
4
4
|
"description": "Plugin for the integration of Redux in a Piral instance.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"@types/react": "^18.0.0",
|
|
70
70
|
"@types/react-redux": "^5.0.19",
|
|
71
71
|
"@types/redux": "^3.6.0",
|
|
72
|
-
"piral-core": "0.15.
|
|
72
|
+
"piral-core": "0.15.12-beta.5528",
|
|
73
73
|
"react": "^18.0.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"piral-core": "0.14.x || 0.15.x",
|
|
77
77
|
"react": ">=16.8.0"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "6d97a2baca7ae3e5fb19a754ba55d44b40ed137e"
|
|
80
80
|
}
|