/io-ts-reporters

Error reporters for io-ts

Primary LanguageTypeScriptMIT LicenseMIT

io-ts-reporters

Error reporters for io-ts.

Currently this package only includes one reporter. The output is an array of strings in the format of:

Expected type of ${path} to be ${expectedType}, but got ${actualType}: ${actualValue}.

Installation

yarn add io-ts-reporters

Example

See the tests.

Testing

yarn
yarn run test