I am transitioning a project from Babel to Typescript and receive the following compiler error:
error TS1136: Property assignment expected.
from code that looks like this:
var auth = {...this.props.auth};
This code previously worked fine under Babel, but causes the error above when attempting to compile via Typescript. Is object destructuring different in Typescript?