1 | import { Cast } from '../Any/Cast';
|
2 | import { OptionalPart } from '../Object/Optional';
|
3 | import { Depth } from '../Object/_Internal';
|
4 | import { List } from './List';
|
5 | /**
|
6 | * Make `L` optional (deeply or not)
|
7 | * @param L to make optional
|
8 | * @param depth (?=`'flat'`) 'deep' to do it deeply
|
9 | * @returns [[List]]
|
10 | * @example
|
11 | * ```ts
|
12 | * ```
|
13 | */
|
14 | export declare type Optional<L extends List, depth extends Depth = 'flat'> = Cast<OptionalPart<L, depth>, List>;
|