Type Alias EnsureRecord<TInput>

EnsureRecord: TInput extends | [infer TKey, infer TValue]
| readonly [infer TKey, infer TValue]
    ? TKey extends string | number | symbol ? Record<TKey, TValue> : never
    : never

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

Type Parameters

  • TInput