@arthurgubaidullin/nx-embed-dependencies
Version:
This plugin for [Nx](https://nx.dev) helps injecting local dependencies into a package.
17 lines (16 loc) • 339 B
TypeScript
/**
* @since 2.2.0
*/
import { Index } from '..'
/**
* @category model
* @since 2.2.0
*/
export interface ReadonlyNonEmptyArray<A> extends ReadonlyArray<A> {
readonly 0: A
}
/**
* @category constructor
* @since 2.2.0
*/
export declare const indexReadonlyNonEmptyArray: <A = never>() => Index<ReadonlyNonEmptyArray<A>, number, A>