How should I do something like
class App extends React.Component {
render() {
const { x, y, z} = this.props;
return (...)
}
}
in TypeScript? For now tslinter shows an Error:
Type 'Readonly<{ children?: ReactNode; }> & Readonly<{}>' has no property 'x' and no string index signature.