Skip to content

API / wxt/utils/storage / GetItemOptions

Interface: GetItemOptions<T> ​

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

Contents ​

Type Parameters ​

T ​

T

Properties ​

defaultValue? ​

optional defaultValue?: T

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

Deprecated ​

Renamed to fallback, use it instead.


fallback? ​

optional fallback?: T

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

Default value returned when getItem would otherwise return null.


Generated using typedoc-plugin-markdown and TypeDoc