UNPKG

372 BTypeScriptView Raw
1/**
2 * @since 0.5.0
3 */
4import { Ord } from 'fp-ts/lib/Ord'
5import * as t from 'io-ts'
6/**
7 * @since 0.5.0
8 */
9export interface SetFromArrayC<C extends t.Mixed> extends t.Type<Set<t.TypeOf<C>>, Array<t.OutputOf<C>>, unknown> {}
10/**
11 * @since 0.5.0
12 */
13export declare function setFromArray<C extends t.Mixed>(codec: C, O: Ord<t.TypeOf<C>>, name?: string): SetFromArrayC<C>
14
\No newline at end of file