Type alias Assign<T, U>

Assign<T, U>: Assign_<T, U> & U

Type Parameters

  • T

  • U

Description

Assigns the properties of U onto T.

Example

Assign<{ a: string, b: number }, { a: undefined, c: boolean }>
=> { a: undefined, b: number, c: boolean }

Generated using TypeDoc