1 | import { Ord } from 'fp-ts/Ord'
|
2 | import * as t from 'io-ts'
|
3 | /**
|
4 | * @since 0.5.19
|
5 | */
|
6 | export interface MapFromEntriesC<K extends t.Mixed, V extends t.Mixed>
|
7 | extends t.Type<Map<t.TypeOf<K>, t.TypeOf<V>>, Array<[t.OutputOf<K>, t.OutputOf<V>]>, unknown> {}
|
8 | /**
|
9 | * @since 0.5.19
|
10 | */
|
11 | export declare function mapFromEntries<K extends t.Mixed, V extends t.Mixed>(
|
12 | keyCodec: K,
|
13 | KO: Ord<t.TypeOf<K>>,
|
14 | valueCodec: V,
|
15 | name?: string
|
16 | ): MapFromEntriesC<K, V>
|
17 |
|
\ | No newline at end of file |