source: node_modules/ts-toolbelt/out/List/Pop.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: 285 bytes
Line 
1import { List } from './List';
2/**
3 * Remove the last element out of `L`
4 * @param L to remove from
5 * @returns [[List]]
6 * @example
7 * ```ts
8 * ```
9 */
10export declare type Pop<L extends List> = L extends (readonly [...infer LBody, any] | readonly [...infer LBody, any?]) ? LBody : L;
Note: See TracBrowser for help on using the repository browser.