/** * @type P: Type of payload * @type C: Type of callback */ export type Dispatch =
void>(action: {
type: string;
payload?: P;
callback?: C;
[key: string]: any;
}) => any;
export interface DefaultProps {
dispatch: Dispatch
}
export interface DefaultModel