API > @wxt-dev/storage > WatchCallback
Type alias: WatchCallback<T>
WatchCallback<
T
>: (newValue
,oldValue
) =>void
Type parameters
Parameter |
---|
T |
Callback called when a value in storage is changed.
Parameters
▪ newValue: T
▪ oldValue: T
Source
packages/storage/dist/index.d.mts:257
Generated using typedoc-plugin-markdown and TypeDoc