UNPKG

@arthurgubaidullin/nx-embed-dependencies

Version:

This plugin for [Nx](https://nx.dev) helps injecting local dependencies into a package.

15 lines (14 loc) 394 B
/** * @since 0.5.0 */ import * as t from 'io-ts' import { NonEmptyArray } from 'fp-ts/lib/NonEmptyArray' /** * @since 0.5.0 */ export interface NonEmptyArrayC<C extends t.Mixed> extends t.Type<NonEmptyArray<t.TypeOf<C>>, NonEmptyArray<t.OutputOf<C>>, unknown> {} /** * @since 0.5.0 */ export declare function nonEmptyArray<C extends t.Mixed>(codec: C, name?: string): NonEmptyArrayC<C>