UNPKG

rambda

Version:

Lightweight faster alternative to Ramda

15 lines (13 loc) 386 B
import {Overwrite as OOverwrite} from '../Object/Overwrite' import {Cast} from '../Any/Cast' import {Tuple} from './Tuple' /** Update the entries of **`T`** with the ones of **`T1`** * @param T to update * @param T1 to update with * @returns **`object`** * @example * ```ts * ``` */ export type Overwrite<T extends Tuple, T1 extends object> = Cast<OOverwrite<T, T1>, Tuple>