@stackend/api
Version:
JS bindings to api.stackend.com
21 lines • 593 B
TypeScript
import { User } from './index';
export interface UsersState {
[id: number]: User;
}
declare const USERS_RECEIVED = "USERS_RECEIVED";
declare const CLEAR_USERS = "CLEAR_USERS";
declare const CLEAR_USER = "CLEAR_USER";
export interface UsersReceivedAction {
type: typeof USERS_RECEIVED;
users: Array<User>;
}
export interface ClearUsersAction {
type: typeof CLEAR_USERS;
}
export interface ClearUserAction {
type: typeof CLEAR_USER;
id: number;
}
export declare const users: (S: any, A: any) => UsersState;
export default users;
//# sourceMappingURL=usersReducer.d.ts.map