Skip to content

API / wxt/utils/storage / GetItemOptions

Interface: GetItemOptions<T>

Source: packages/storage/dist/index.d.mts:182

Contents

Type Parameters

T

T

Properties

defaultValue?

optional defaultValue?: T

Source: packages/storage/dist/index.d.mts:184

Deprecated

Renamed to fallback, use it instead.


fallback?

optional fallback?: T

Source: packages/storage/dist/index.d.mts:186

Default value returned when getItem would otherwise return null.


Generated using typedoc-plugin-markdown and TypeDoc