1 | import { TypeConstant } from './type-helpers';
|
2 | export declare function action<T extends TypeConstant, E>(type: T, payload: undefined, meta: undefined, error: E): {
|
3 | type: T;
|
4 | error: E;
|
5 | };
|
6 | export declare function action<T extends TypeConstant, M, E>(type: T, payload: undefined, meta: M, error: E): {
|
7 | type: T;
|
8 | meta: M;
|
9 | error: E;
|
10 | };
|
11 | export declare function action<T extends TypeConstant, P, E>(type: T, payload: P, meta: undefined, error: E): {
|
12 | type: T;
|
13 | payload: P;
|
14 | error: E;
|
15 | };
|
16 | export declare function action<T extends TypeConstant, P, M, E>(type: T, payload: P, meta: M, error: E): {
|
17 | type: T;
|
18 | payload: P;
|
19 | meta: M;
|
20 | error: E;
|
21 | };
|
22 | export declare function action<T extends TypeConstant, M>(type: T, payload: undefined, meta: M): {
|
23 | type: T;
|
24 | meta: M;
|
25 | };
|
26 | export declare function action<T extends TypeConstant, P, M>(type: T, payload: P, meta: M): {
|
27 | type: T;
|
28 | payload: P;
|
29 | meta: M;
|
30 | };
|
31 | export declare function action<T extends TypeConstant, P>(type: T, payload: P): {
|
32 | type: T;
|
33 | payload: P;
|
34 | };
|
35 | export declare function action<T extends TypeConstant>(type: T): {
|
36 | type: T;
|
37 | };
|