Skip to content

API > wxt/utils/storage > GetItemOptions

Interface: GetItemOptions<T> ​

Contents ​

Type parameters ​

▪ T

Properties ​

defaultValue ​

defaultValue?: T

Deprecated ​

Renamed to fallback, use it instead.

Source ​

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


fallback ​

fallback?: T

Default value returned when getItem would otherwise return null.

Source ​

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


Generated using typedoc-plugin-markdown and TypeDoc