udecode / zustand-x

Zustand store factory for a best-in-class developer experience.
https://zustand-x.udecode.dev
MIT License
328 stars 20 forks source link

fix: update PersistOptions typing #49

Closed GoodbyeNJN closed 1 year ago

GoodbyeNJN commented 1 year ago

Description https://github.com/udecode/zustood/blob/main/packages/zustood/src/createStore.ts#L50

Since the name attribute in persist option has long been unnecessary, update the PersistOptions type accordingly.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 0a0ee8930d25bf4afb1ea4fd8ca7076cafab6cf3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------- | ----- | | @udecode/zustood | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

GoodbyeNJN commented 1 year ago

Sorry for open two PRs, but it was not until the previous PR was merged that I found that the releated type also needs to be updated.