@tanstack/react-router 1.56.4 → 1.56.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/cjs/router.d.cts +1 -1
- package/dist/esm/router.d.ts +1 -1
- package/dist/esm/router.js.map +1 -1
- package/package.json +2 -2
- package/src/router.ts +1 -0
package/dist/cjs/router.d.cts
CHANGED
|
@@ -42,7 +42,7 @@ export type HydrationCtx = {
|
|
|
42
42
|
router: DehydratedRouter;
|
|
43
43
|
payload: Record<string, any>;
|
|
44
44
|
};
|
|
45
|
-
export type InferRouterContext<TRouteTree extends AnyRoute> = TRouteTree extends RootRoute<any, infer TRouterContext extends AnyContext, any, any, any, any, any> ? TRouterContext : AnyContext;
|
|
45
|
+
export type InferRouterContext<TRouteTree extends AnyRoute> = TRouteTree extends RootRoute<any, infer TRouterContext extends AnyContext, any, any, any, any, any, any> ? TRouterContext : AnyContext;
|
|
46
46
|
export type ExtractedEntry = {
|
|
47
47
|
dataType: '__beforeLoadContext' | 'loaderData';
|
|
48
48
|
type: 'promise' | 'stream';
|
package/dist/esm/router.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export type HydrationCtx = {
|
|
|
42
42
|
router: DehydratedRouter;
|
|
43
43
|
payload: Record<string, any>;
|
|
44
44
|
};
|
|
45
|
-
export type InferRouterContext<TRouteTree extends AnyRoute> = TRouteTree extends RootRoute<any, infer TRouterContext extends AnyContext, any, any, any, any, any> ? TRouterContext : AnyContext;
|
|
45
|
+
export type InferRouterContext<TRouteTree extends AnyRoute> = TRouteTree extends RootRoute<any, infer TRouterContext extends AnyContext, any, any, any, any, any, any> ? TRouterContext : AnyContext;
|
|
46
46
|
export type ExtractedEntry = {
|
|
47
47
|
dataType: '__beforeLoadContext' | 'loaderData';
|
|
48
48
|
type: 'promise' | 'stream';
|