@typed/io
Version:
Runtime IO type system
10 lines • 404 B
TypeScript
import { Encoder } from './encoder';
import { Type } from './types';
/**
* Composes an encoder with a type through function composition Type >>> Encoder
*/
export declare const composeEncoder: {
<A, B, C>(encoder: Encoder<A, B>, type: Type<C, A>): Type<C, B>;
<A_1, B_1>(encoder: Encoder<A_1, B_1>): <C_1>(type: Type<C_1, A_1>) => Type<C_1, B_1>;
};
//# sourceMappingURL=composeEncoder.d.ts.map