Instruction: Provide an example to demonstrate the typing of a Higher-Order Component in TypeScript.
Context: This question assesses the candidate's ability to work with advanced React patterns in TypeScript, specifically with typing Higher-Order Components for reusability and type safety.