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:647
fallback
fallback?:
T
Default value returned when getItem
would otherwise return null
.
Source
packages/wxt/src/storage.ts:651
Generated using typedoc-plugin-markdown and TypeDoc