@arthurgubaidullin/nx-embed-dependencies
Version:
This plugin for [Nx](https://nx.dev) helps injecting local dependencies into a package.
21 lines (20 loc) • 391 B
TypeScript
/**
* @since 0.2.0
*/
import { Newtype } from '.';
import { Prism } from 'monocle-ts';
/**
* @since 0.2.0
*/
export interface NonNegative extends Newtype<{
readonly NonNegative: unique symbol;
}, number> {
}
/**
* @since 0.2.0
*/
export declare const isNonNegative: (n: number) => boolean;
/**
* @since 0.2.0
*/
export declare const prismNonNegative: Prism<number, NonNegative>;