-
Notifications
You must be signed in to change notification settings - Fork 587
Closed
Description
As described in #356,
the query
prop was added to the location
object but the typescript typings do not include it.
interface RouterState
https://github.com/supasate/connected-react-router/blob/master/index.d.ts#L25
now, technically, this is a problem with the history
package's typings
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/history/index.d.ts#L29
which you use in your package.
I guess the solution might be to fix the history
typings to include the query
prop or
augment it to include the missing prop or even, completely provide your own location
type.
Because I am not sure which approach you prefer to take, I didn't open an issue on the history
repository or create a PR with a fix...
lebrande, icexxxxxx, mxweaver, cilqnd, jzilg and 3 moreicexxxxxx
Metadata
Metadata
Assignees
Labels
No labels