Type alias CollectionInputType<K, V>

CollectionInputType<K, V>: V[] | [K, V][] | Iterable<V> | Collection<K, V> | Record<K, V> | Map<K, V>

Represents the input types accepted by a collection.

Type Parameters

  • K extends CollectionKeyType = string

    The type of the collection keys.

  • V = unknown

    The type of the collection values.

Generated using TypeDoc