Skip to content

API > wxt/storage > GetItemOptions

Interface: GetItemOptions<T>

Contents

Type parameters

T

Properties

defaultValue

defaultValue?: T

Deprecated

Renamed to fallback, use it instead.

Source

packages/wxt/src/storage.ts:656


fallback

fallback?: T

Default value returned when getItem would otherwise return null.

Source

packages/wxt/src/storage.ts:660


Generated using typedoc-plugin-markdown and TypeDoc