UNPKG

422 BTypeScriptView Raw
1/**
2 * @since 0.5.7
3 */
4import { Ord } from 'fp-ts/lib/Ord'
5import * as t from 'io-ts'
6/**
7 * @since 0.5.7
8 */
9export interface ReadonlySetFromArrayC<C extends t.Mixed>
10 extends t.Type<ReadonlySet<t.TypeOf<C>>, ReadonlyArray<t.OutputOf<C>>, unknown> {}
11/**
12 * @since 0.5.7
13 */
14export declare function readonlySetFromArray<C extends t.Mixed>(
15 codec: C,
16 O: Ord<t.TypeOf<C>>,
17 name?: string
18): ReadonlySetFromArrayC<C>
19
\No newline at end of file