@stenajs-webui/redux 21.9.1 → 21.10.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.
@@ -1,4 +1,4 @@
1
1
  import { EntityListAction } from "./entity-list-actions";
2
2
  import { Action, AnyAction, Reducer } from "redux";
3
3
  export type EntityListState<TListItem> = Array<TListItem>;
4
- export declare const createEntityListReducer: <TListItem, TListItemAction extends Action<any> = AnyAction>(reducer?: Reducer<TListItem, TListItemAction>) => (state: EntityListState<TListItem> | undefined, action: EntityListAction<TListItem, TListItemAction>) => EntityListState<TListItem>;
4
+ export declare const createEntityListReducer: <TListItem, TListItemAction extends Action = AnyAction>(reducer?: Reducer<TListItem, TListItemAction>) => (state: EntityListState<TListItem> | undefined, action: EntityListAction<TListItem, TListItemAction>) => EntityListState<TListItem>;
@@ -5,5 +5,5 @@ export interface ReducerIdGateAction<TInnerAction> {
5
5
  action: TInnerAction;
6
6
  }
7
7
  export type ReducerIdGateReducer<TState, TInnerAction extends Action = AnyAction> = Reducer<TState, ReducerIdGateAction<TInnerAction>>;
8
- export declare const reducerIdGate: <TState, TInnerAction extends Action<any> = AnyAction>(reducerId: string, reducer: Reducer<TState, TInnerAction>) => ReducerIdGateReducer<TState, TInnerAction>;
8
+ export declare const reducerIdGate: <TState, TInnerAction extends Action = AnyAction>(reducerId: string, reducer: Reducer<TState, TInnerAction>) => ReducerIdGateReducer<TState, TInnerAction>;
9
9
  export declare const reducerIdGateAction: <TInnerAction>(reducerId: string, action: TInnerAction) => ReducerIdGateAction<TInnerAction>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stenajs-webui/redux",
3
- "version": "21.9.1",
3
+ "version": "21.10.0",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "author": "mattias800",
@@ -52,5 +52,5 @@
52
52
  "files": [
53
53
  "dist"
54
54
  ],
55
- "gitHead": "ec426180b80c80a698c805d54b530d10f54bb485"
55
+ "gitHead": "b02af89951bf394379a02c8e8dc5ad5182d36daa"
56
56
  }