Type Alias EnsureMap<TInput>

EnsureMap: TInput extends | [infer TKey, infer TValue]
| readonly [infer TKey, infer TValue]
    ? globalThis.Map<TKey, TValue>
    : never

IMPORT_PATH: "@daiso-tech/core/collection/contracts"

Type Parameters

  • TInput