UNPKG

392 BTypeScriptView Raw
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>>;