Type Alias: UseStorageOptions<P, M>
ts
type UseStorageOptions<P, M> = ReactiveOptions<WithParser<StorageStateOptions, P, M>, "missing">;Defined in: storage/use-storage.ts:25
The options of useStorage. The object and every option in it accept a value, a ref, a computed or a getter, except parser, which takes everything but a getter.
Type Parameters
| Type Parameter | Default type |
|---|---|
P extends ParserInput | undefined | ParserInput | undefined |
M | unknown |