This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

KeyValue

A key value pair. Usually used to represent the key value pairs from a Map or Object.

interface KeyValue<K, V> { key: K value: V }
      
      interface KeyValue<K, V> {
  key: K
  value: V
}
    

Properties

Property Description
key: K
value: V