rambdax
Version:
Extended version of Rambda - a lightweight, faster alternative to Ramda
16 lines (14 loc) • 353 B
text/typescript
import {Overwrite as OOverwrite} from '../Object/Overwrite'
import {Cast} from '../Any/Cast'
import {List} from './List'
/**
Update the entries of `L` with the ones of `L1`
@param L to update
@param L1 to update with
@returns [[Object]]
@example
```ts
```
*/
export type Overwrite<L extends List, L1 extends object> =
Cast<OOverwrite<L, L1>, List>