UNPKG

255 BTypeScriptView Raw
1export declare type Action<S> = {
2 type: any;
3 payload?: Partial<S>;
4};
5export declare type Reducer<S, A = Action<S>> = (state: S, action: A) => S;
6export declare type Optional<T> = {
7 [P in keyof T]?: T[P];
8};
9//# sourceMappingURL=types.d.ts.map
\No newline at end of file