Skip to content

Commit

Permalink
Merge pull request #99 from alshdotme/patch-1
Browse files Browse the repository at this point in the history
Draft: Update Persist's partialize return type
  • Loading branch information
zbeyens authored Feb 4, 2025
2 parents da3a403 + 30fc457 commit 03d1216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zustand-x/src/middlewares/persist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import { MiddlewareOption } from '../types';

export { persist as persistMiddleware } from 'zustand/middleware';
export type PersistOptions<StateType> = MiddlewareOption<
Partial<_PersistOptions<StateType>>
Partial<_PersistOptions<StateType, Partial<StateType>>>
>;

0 comments on commit 03d1216

Please sign in to comment.