I am working on a TypeScript React component whose props also take a generic type, so I declare the React component as
export interface MyCompProps {