source: node_modules/ts-toolbelt/out/List/Last.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 273 bytes
Line 
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>>];
Note: See TracBrowser for help on using the repository browser.