Skip to content

Expose state type on the SentryEnhancerOptions interface level #3014

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

Merged
merged 2 commits into from
Oct 29, 2020
Merged

Expose state type on the SentryEnhancerOptions interface level #3014

merged 2 commits into from
Oct 29, 2020

Conversation

pkuczynski
Copy link
Contributor

@pkuczynski pkuczynski commented Oct 29, 2020

That would allow to simply call:

Sentry.createReduxEnhancer<MyStore>({
  stateTransformer: (state) => ({
        ...
  })
  ...
})

And have state properly typed.

@kamilogorek
Copy link
Contributor

Thanks!

@kamilogorek kamilogorek merged commit 2c18922 into getsentry:master Oct 29, 2020
@pkuczynski pkuczynski deleted the patch-1 branch October 29, 2020 10:26
@pkuczynski
Copy link
Contributor Author

@kamilogorek when this could be released you think?

@kamilogorek
Copy link
Contributor

Early next week I'd say. We released a patch version Today, but missed this update by 2h 😅

@pkuczynski
Copy link
Contributor Author

Fair enough, thanks for the info :)

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.

2 participants