We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeScript Version: 2.2.0-dev.20161127
Code
interface X {} const x: {} | X = {} const y = { ...x }
Actual behavior:
Error with "Spread types may only be created from object types".
Probably related to #12520.
TypeScript Version: 2.2.0-dev.20161127
Code
Actual behavior:
Error with "Spread types may only be created from object types".
Probably related to #12520.