`History<any>` ;function BasicExample() {
return (
<Router>
<div>
<Link to="/about/product">About</Link>
<Route exact path="/about/:product" component={RouteProduct} />
</div>
</Router>
);
}
const RouteProduct = withRouter(
({ match, history }: RouteComponentProps<{ product: string }>) => (
<Fragment>
10
</Fragment>
)
); interface History<HistoryLocationState = LocationState>type LocationState = any;