Files
commafeed/commafeed-client/src/app/async-thunk.ts

8 lines
225 B
TypeScript
Raw Normal View History

import { createAsyncThunk } from "@reduxjs/toolkit"
import type { AppDispatch, RootState } from "app/store"
export const createAppAsyncThunk = createAsyncThunk.withTypes<{
state: RootState
dispatch: AppDispatch
}>()