assign<A, B, C, D, E, F, G, H>( a: A, b?: B, c?: C, d?: D, e?: E, f?: F, g?: G, h?: H,): A & B & C & D & E & F & G & H Parameters
- a: A
Optional
b: BOptional
c: COptional
d: DOptional
e: EOptional
f: FOptional
g: GOptional
h: H
Returns A & B & C & D & E & F & G & H
Description
Wrapper over Object.assign to merge multiple objects with proper typing.
Example