Type Alias: PersistedStateStorage
PersistedStateStorage =
Pick<Storage,"getItem"|"setItem">
Defined in: use-persisted-state.ts:24
The storage usePersistedState reads from and writes to. localStorage and
sessionStorage both fit, as does any object with the same getItem and
setItem methods (for example an in-memory store in tests).