Javascript Type String Is Not Assignable To Type For React Router

Javascript Type String Is Not Assignable To Type For React Router