Skip to content

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 ParameterDefault type
P extends ParserInput | undefinedParserInput | undefined
Munknown

Released under the MIT License.