Skip to content

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