UNPKG

273 BTypeScriptView Raw
1import { Tail } from './Tail';
2import { Length } from './Length';
3import { List } from './List';
4/**
5 * Get the last entry of `L`
6 * @param L to extract from
7 * @returns [[Any]]
8 * @example
9 * ```ts
10 * ```
11 */
12export declare type Last<L extends List> = L[Length<Tail<L>>];