mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
7 lines (6 loc) • 424 B
TypeScript
import type { ThreadsState } from '@mattermost/types/threads';
import type { MMReduxAction } from 'mattermost-redux/action_types';
import type { ExtraData } from './types';
export declare const threadsReducer: (state: ThreadsState["threads"] | undefined, action: MMReduxAction, extra: ExtraData) => any;
declare function reducer(state: ThreadsState | undefined, action: MMReduxAction): ThreadsState;
export default reducer;