Skip to content

API > @wxt-dev/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:197


fallback

fallback?: T

Default value returned when getItem would otherwise return null.

Source

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


Generated using typedoc-plugin-markdown and TypeDoc