UNPKG

@arthurgubaidullin/nx-embed-dependencies

Version:

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

11 lines (10 loc) 222 B
/** * @since 0.4.4 */ import * as t from 'io-ts' /** * Returns a codec from a refinement * * @since 0.4.4 */ export declare function fromRefinement<A>(name: string, is: (u: unknown) => u is A): t.Type<A, A, unknown>