import { Component } from "react"; class MyComponent extends Component { render() { this.props.b; // Allowed, since this.props is of type any } }