UNPKG

270 BTypeScriptView Raw
1import { Length } from './Length';
2import { Tail } from './Tail';
3import { List } from './List';
4/**
5 * Get the last index of `L`
6 * @param L to get from
7 * @returns `number`
8 * @example
9 * ```ts
10 * ```
11 */
12export declare type LastKey<L extends List> = Length<Tail<L>>;