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