import 'rollup-plugin-inject-process-env'; import { ThunkDispatch } from "@reduxjs/toolkit"; import { ActionType } from "../ChatAction"; import { ChatState } from "../ChatState"; export type AsyncActionType = (dispatch: ChatDispatch, getState: () => ChatState) => void; export type ChatDispatch = ThunkDispatch;