We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce53f11 commit ad82ee8Copy full SHA for ad82ee8
src/createWebStoragePersister/index.ts
@@ -5,6 +5,12 @@ import {
5
PersistRetryer,
6
} from '../persistQueryClient'
7
8
+interface Storage {
9
+ getItem: (key: string) => string | null
10
+ setItem: (key: string, value: string) => void
11
+ removeItem: (key: string) => void
12
+}
13
+
14
interface CreateWebStoragePersisterOptions {
15
/** The storage client used for setting and retrieving items from cache.
16
* For SSR pass in `undefined`.
0 commit comments