问题 Using Redux-Toolkit, I am trying to use ThunkAPI & dispatch inside an createAsyncThunk but I am getting rejected because of type error. Not sure how to resolve this. my store: export const store = configureStore({ reducer: rootReducer, middleware: [...getDefaultMiddleware()], }); my Action: export const tester = createAsyncThunk( 'tester', async (testData, {dispatch}) => { await dispatch(load(true)); const final = await someExternalFunc(testData) return final; } ); but, I am getting output as