Innovenergy_trunk/frontend/node_modules/monocle-ts/lib/Index/ReadonlyNonEmptyArray.d.ts

17 lines
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>