Closed vkurchatkin closed 7 years ago
The spread type
{ ...A, ...B }
combines the properties, but not the call or construct signatures, of entities A and B.
Source: https://github.com/Microsoft/TypeScript/pull/11150
Note that this is spread for types, not for actual objects (which is also supported and uses the underlying spread types).
Ah, I think this still hasn't been released and is slated for TS 2.2. I'll add a note. Thanks for spotting.
Could you clarify, what you mean by
type spread operator
?