Skip to content

Instantly share code, notes, and snippets.

@carlrip
Created February 3, 2019 14:39
Show Gist options
  • Select an option

  • Save carlrip/ad18067ffeb3d3f6f4a12d36b7b53d0e to your computer and use it in GitHub Desktop.

Select an option

Save carlrip/ad18067ffeb3d3f6f4a12d36b7b53d0e to your computer and use it in GitHub Desktop.
React Redux Store with TypeScript
export function configureStore(): Store<IAppState> {
const store = createStore(rootReducer, undefined, applyMiddleware(thunk));
return store;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment