I'm trying to build my app (using Redux and electron) with : yarn build
I get this error on Windows :
Property 'REDUX_DEVTOOLS_EXTENSION_COMPOSE' does not exist on type 'Window & typeof globalThis'
the error is in this block of code that I use for the configuration of Redux :
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose
export const store = createStore( persistedReducer,
composeEnhancers(applyMiddleware(thunkMiddleware))
);
how can I correct it ?