import * as React from "react";
interface Props {
}
export class Test extends React.Component<Props, {}> {
render() {
return <div {...this.props} />
}
}
Was working fine until: typescript@2.3.0-dev.20170215
In typescript@2.3.0-dev.20170216 throws:
error TS2698: Spread types may only be created from object types.
Not sure if related: #13557
Was working fine until:
typescript@2.3.0-dev.20170215In
typescript@2.3.0-dev.20170216throws:error TS2698: Spread types may only be created from object types.Not sure if related: #13557