types/react-router-dom]: withRouter HoC produces compile error: "Property 'match' is missing in type '{}'." · Issue #17181 · DefinitelyTyped/DefinitelyTyped · GitHub
Private and Public Routes with React Router. | by Thinley Norbu | wesionaryTEAM
javascript - useParams in TypeScript does not allow destructuring - Stack Overflow