source: node_modules/ts-toolbelt/out/List/Update.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 523 bytes
RevLine 
[d24f17c]1import { Key } from './_Internal';
2import { List } from './List';
3import { Update as OUpdate } from '../Object/Update';
4import { 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 */
16export declare type Update<L extends List, K extends Key, A extends any> = Cast<OUpdate<L, `${K & number}` | K, A>, List>;
Note: See TracBrowser for help on using the repository browser.