Skip to content

Commit 2e189d5

Browse files
committed
ref(react): Adapt tanstack router type
1 parent e3ee276 commit 2e189d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/vendor/tanstackrouter-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface VendoredTanstackRouter {
4646
eventType: 'onResolved' | 'onBeforeNavigate',
4747
callback: (stateUpdate: {
4848
toLocation: VendoredTanstackRouterLocation;
49-
fromLocation: VendoredTanstackRouterLocation;
49+
fromLocation?: VendoredTanstackRouterLocation;
5050
}) => void,
5151
): () => void;
5252
}

0 commit comments

Comments
 (0)