I prefer following form (es2015 + @types/react):
/**
* @typedef {object} Props
* @prop {string} className
* @prop {number} numberProp
*
* @extends {Component}
*/
export default class SomeComponent extends Component {
render() {
return (
{this.props.numberProp}
);
}
}