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