source: node_modules/ts-toolbelt/out/List/Omit.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: 584 bytes
Line 
1import { _Omit as _OOmit } from '../Object/Omit';
2import { _ListOf } from '../Object/ListOf';
3import { Key } from './_Internal';
4import { List } from './List';
5import { ObjectOf } from './ObjectOf';
6/**
7 * @hidden
8 */
9export declare type _Omit<L extends List, K extends Key> = _ListOf<_OOmit<ObjectOf<L>, `${K & number}` | K>>;
10/**
11 * Remove out of `L` the entries of key `K`
12 * @param L to remove from
13 * @param K to chose entries
14 * @returns [[List]]
15 * @example
16 * ```ts
17 * ```
18 */
19export declare type Omit<L extends List, K extends Key> = L extends unknown ? _Omit<L, K> : never;
Note: See TracBrowser for help on using the repository browser.