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.
15 lines (14 loc) • 329 B
TypeScript
import { ValidationError } from '.'
import { Reporter } from './Reporter'
/**
* @since 1.0.0
*/
export declare function failure(es: Array<ValidationError>): Array<string>
/**
* @since 1.0.0
*/
export declare function success(): Array<string>
/**
* @since 1.0.0
*/
export declare const PathReporter: Reporter<Array<string>>