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
Optionalb: BOptionalc: COptionald: DOptionale: EOptionalf: FOptionalg: GOptionalh: H
Returns A & B & C & D & E & F & G & H
Description
Wrapper over Object.assign to merge multiple objects with proper typing.
Example