UNPKG

ts-toolbelt

Version:

TypeScript's largest utility library

13 lines (12 loc) 270 B
import { Length } from './Length'; import { Tail } from './Tail'; import { List } from './List'; /** * Get the last index of `L` * @param L to get from * @returns `number` * @example * ```ts * ``` */ export declare type LastKey<L extends List> = Length<Tail<L>>;