Skip to content

Commit

Permalink
ref(react): Adapt tanstack router type (#15241)
Browse files Browse the repository at this point in the history
We adapted this here but did not adapt the types:
#15235
  • Loading branch information
mydea authored Jan 31, 2025
1 parent 25e7071 commit 829d4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/vendor/tanstackrouter-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface VendoredTanstackRouter {
eventType: 'onResolved' | 'onBeforeNavigate',
callback: (stateUpdate: {
toLocation: VendoredTanstackRouterLocation;
fromLocation: VendoredTanstackRouterLocation;
fromLocation?: VendoredTanstackRouterLocation;
}) => void,
): () => void;
}
Expand Down

0 comments on commit 829d4da

Please sign in to comment.