UNPKG

polyfact-io-ts

Version:

A modified version of io-ts, the TypeScript runtime type system for IO decoding/encoding, to fit with the needs of the Polyfact project.

11 lines (10 loc) 163 B
/** * @since 1.0.0 */ import { Validation } from './index' /** * @since 1.0.0 */ export interface Reporter<A> { report: (validation: Validation<any>) => A }