Hi there,
I’m new to TS with React and wondering how to access the Location type inside the RouteComponentProp
s interface? I’m trying to write a function that requires location:
getQueryString(location, parameter: string)
How can I dive inside RouteComponentProps
to assign location
to the RouteComponentProps.location
type?
Thanks!