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