1 | import { Key } from './_Internal';
|
2 | import { List } from './List';
|
3 | import { Update as OUpdate } from '../Object/Update';
|
4 | import { Cast } from '../Any/Cast';
|
5 | /**
|
6 | * Update in `L` the entries of key `K` with `A`.
|
7 | * Use the [[x]] placeholder to get the current field type.
|
8 | * @param L to update
|
9 | * @param K to chose fields
|
10 | * @param A to update with
|
11 | * @returns [[List]]
|
12 | * @example
|
13 | * ```ts
|
14 | * ```
|
15 | */
|
16 | export declare type Update<L extends List, K extends Key, A extends any> = Cast<OUpdate<L, `${K & number}` | K, A>, List>;
|