Type alias Entry<Key, Value>

Entry<Key, Value>: readonly [key: Key, value: Value]

Entry couple [key, value].

Example

const entry: Entry<string, number> = ["🟢", 1];

Type Parameters

  • Key = PropertyKey

  • Value = unknown