UNPKG

@typed/io

Version:

Runtime IO type system

6 lines 348 B
import { Either } from '@typed/either'; import { Guard, TypeOf } from './Guard'; declare const UnknownEither: Guard<Either<unknown, unknown>>; export { UnknownEither as Either }; export declare const either: <L extends Guard<any>, R extends Guard<any>>(left: L, right: R) => Guard<Either<TypeOf<L>, TypeOf<R>>>; //# sourceMappingURL=Either.d.ts.map