UNPKG

553 BTypeScriptView Raw
1import { Replace as OReplace } from '../Object/Replace';
2import { Match } from '../Any/_Internal';
3import { Cast } from '../Any/Cast';
4import { List } from './List';
5/**
6 * Update with `A` the entries of `L` that match `M`
7 * @param O to update
8 * @param M to select fields
9 * @param A to update with
10 * @param match (?=`'default'`) to change precision
11 * @returns [[List]]
12 * @example
13 * ```ts
14 * ```
15 */
16export declare type Replace<L extends List, M extends any, A extends any, match extends Match = 'default'> = Cast<OReplace<L, M, A, match>, List>;