Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript types: allow generic state and action #716

Closed
wants to merge 6 commits into from

Conversation

OliverJAsh
Copy link

E.g.

const composeEnhancers = composeWithDevTools({
  stateSanitizer: (state: StateRoot): StateRoot => ({
    // …
  })
})

@OliverJAsh OliverJAsh changed the title TypeScript types: allow generic state TypeScript types: allow generic state and action May 13, 2020
@OliverJAsh
Copy link
Author

Updated to also make the action generic.

@OliverJAsh
Copy link
Author

Issue for new repository: reduxjs/redux-devtools#1534.

@OliverJAsh OliverJAsh closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant