UNPKG

341 BTypeScriptView Raw
1import { UserModel } from "../models";
2import { UserAction } from "./user.actions";
3export interface State {
4 loaded: boolean;
5 data: UserModel;
6}
7export declare const initialState: State;
8export declare function userReducer(state: State, action: UserAction): State;
9export declare const getUser: (state: State) => UserModel;