from How many ways we can define props with TypeScript react?
class Test extends Component<PropsType,StateType> { constructor(props : PropsType){ super(props) } render(){ console.log(this.props) return ( <p>this.props.whatever</p> ) } };
class Test extends Component<PropsType,StateType> { constructor(props : PropsType){ super(props) } render(){ console.log(this.props) return ( <p>this.props.whatever</p> ) } };