StorageChangeEvent represents the change event of the storage.

interface StorageChangeEvent {
    key: string;
    newValue: null | string;
    oldValue: null | string;
}

Properties

Properties

key: string

The key of the item that was changed.

newValue: null | string

The value of the item after the change.

oldValue: null | string

The value of the item before the change.