Reactjs – Type 'Middleware<{}, any, Dispatch<UnknownAction>>' is not assignable to type 'Middleware<{}, any, Dispatch<AnyAction>>' when define the redux logger
I define the redux logger "redux-logger": "^3.0.6" in react store.ts like this: import { configureStore } from '@reduxjs/toolkit'; import rootReducer from '@/redux/reducer/combineReducer'; import { createLogger } from 'redux-logger'; import thunk from 'redux-thunk'; import * as Redux from "redux"; import {…