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