KeyValueChangeRecord

Record representing the item change information.

      
      interface KeyValueChangeRecord<K, V> {
  key: K
  currentValue: V | null
  previousValue: V | null
}
    

属性

属性说明
key: K 只读

Current key in the Map.

currentValue: V | null 只读

Current value for the key or null if removed.

previousValue: V | null 只读

Previous value for the key or null if added.