UNPKG

io-ts-types

Version:

A collection of codecs and combinators for use with io-ts

9 lines (8 loc) 248 B
import { nonEmptyArray } from './nonEmptyArray'; /** * @since 0.5.7 */ export function readonlyNonEmptyArray(codec, name) { if (name === void 0) { name = "ReadonlyNonEmptyArray<" + codec.name + ">"; } return nonEmptyArray(codec, name); }