API > wxt/storage > WxtStorageItemOptions
Interface: WxtStorageItemOptions<T>
Contents
Type parameters
▪ T
Properties
defaultValue
defaultValue:
T
Source
migrations
migrations?:
Record
<number
, (oldValue
) =>any
>
A map of version numbers to the functions used to migrate the data to that version.
Source
version
version?:
number
Provide a version number for the storage item to enable migrations. When changing the version in the future, migration functions will be ran on application startup.
Source
Generated using typedoc-plugin-markdown and TypeDoc