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

Better applyPatches type #810

Merged
merged 1 commit into from Jun 24, 2021
Merged

Better applyPatches type #810

merged 1 commit into from Jun 24, 2021

Conversation

joshkel
Copy link
Contributor

@joshkel joshkel commented Jun 10, 2021

applyPatches should specify its input as type T so that TypeScript can better infer the correct T for its output.

Fixes #809

applyPatches should specify its input as type `T` so that TypeScript can better infer the correct `T` for its output.

Fixes #809
@mweststrate mweststrate merged commit 09ac097 into immerjs:master Jun 24, 2021
@joshkel joshkel deleted the applypatches-type branch June 24, 2021 12:15
@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2021

🎉 This PR is included in version 9.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

applyPatches type definitions in 9.0.3
2 participants