type alias T.LastKeyimport { type T } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts"; const { LastKey } = T; Get the last index of L ExamplesExample 1 Type ParametersL extends Listdefinition: Length<Tail<L>>