To: string | Partial<Path>

Describes a location that is the destination of some navigation used in Link, useNavigate, etc.