I have a simple withAuth HOC. I am trying to define the type for props.
const withAuth = (Component: typeof React.Component) => (role: string) => { re