UNPKG

494 BTypeScriptView Raw
1import { Key } from './_Internal';
2import { List } from './List';
3import { Update } from '../Object/Update';
4import { x } from '../Any/x';
5import { Cast } from '../Any/Cast';
6/**
7 * Make some entries of `L` not `undefined` (deeply or not)
8 * @param L to make non nullable
9 * @param K (?=`Key`) to choose fields
10 * @returns [[List]]
11 * @example
12 * ```ts
13 * ```
14 */
15export declare type Undefinable<L extends List, K extends Key = Key> = Cast<Update<L, `${K & number}` | K, x | undefined>, List>;