Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

__redux_devtools_extension_compose__ typescript

declare global {
    interface Window {
      __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?: typeof compose;
    }
}

const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript
ADD COMMENT
Topic
Name
4+7 =