Newer
Older
import instalikeApi from '../instalikeApi';
import type { RootState } from './store';
export interface AppAction<T extends string, P = unknown> extends Action<T> {
payload: P;
}
export type AppThunkAction<R = void> = ThunkAction<R, RootState, typeof instalikeApi, AnyAction>;
export type AppThunkDispatch = ThunkDispatch<RootState, typeof instalikeApi, AnyAction>;