Skip to content

Commit

Permalink
Export StorageValue type
Browse files Browse the repository at this point in the history
  • Loading branch information
MOZGIII committed Jan 12, 2023
1 parent bf8a76e commit cecc8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/persist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface StateStorage {
removeItem: (name: string) => void | Promise<void>
}

type StorageValue<S> = {
export type StorageValue<S> = {
state: S
version?: number
}
Expand Down

0 comments on commit cecc8a0

Please sign in to comment.