source: node_modules/ts-toolbelt/out/List/Extract.d.ts@ d24f17c

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

Initial commit

  • Property mode set to 100644
File size: 392 bytes
Line 
1import { KeySet } from './KeySet';
2import { Pick } from './Pick';
3import { List } from './List';
4/**
5 * Pick a range of entries (portion) from `L`
6 * @param L to pick from
7 * @param From to start with
8 * @param To to end with
9 * @returns [[List]]
10 * @example
11 * ```ts
12 * ```
13 */
14export declare type Extract<L extends List, From extends number, To extends number> = Pick<L, KeySet<From, To>>;
Note: See TracBrowser for help on using the repository browser.