We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 039bd8f commit 5118824Copy full SHA for 5118824
types/router.d.ts
@@ -74,7 +74,7 @@ export interface RouterOptions {
74
to: Route,
75
from: Route,
76
savedPosition: Position | void
77
- ) => PositionResult | Promise<PositionResult>
+ ) => PositionResult | Promise<PositionResult> | undefined | null
78
}
79
80
type RoutePropsFunction = (route: Route) => Object
0 commit comments