@tanstack/react-router 0.0.1-beta.268 → 0.0.1-beta.269
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/build/cjs/router.js.map +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +351 -351
- package/build/types/router.d.ts +2 -3
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/router.ts +2 -1
package/build/types/router.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
2
|
import { RouterHistory } from '@tanstack/history';
|
|
4
3
|
import { Store } from '@tanstack/store';
|
|
5
4
|
import { AnySearchSchema, AnyRoute, AnyContext, AnyPathParams, RouteMask } from './route';
|
|
6
5
|
import { FullSearchSchema, RoutesById, RoutesByPath } from './routeInfo';
|
|
7
|
-
import { PickAsRequired, Updater, NonNullableUpdater } from './utils';
|
|
6
|
+
import { PickAsRequired, Updater, NonNullableUpdater, Timeout } from './utils';
|
|
8
7
|
import { ErrorRouteComponent, PendingRouteComponent, RouteComponent } from './route';
|
|
9
8
|
import { AnyRouteMatch, RouteMatch } from './Matches';
|
|
10
9
|
import { ParsedLocation } from './location';
|
|
@@ -120,7 +119,7 @@ export type RouterListener<TRouterEvent extends RouterEvent> = {
|
|
|
120
119
|
export declare class Router<TRouteTree extends AnyRoute = AnyRoute, TDehydrated extends Record<string, any> = Record<string, any>> {
|
|
121
120
|
tempLocationKey: string | undefined;
|
|
122
121
|
resetNextScroll: boolean;
|
|
123
|
-
navigateTimeout:
|
|
122
|
+
navigateTimeout: Timeout | null;
|
|
124
123
|
latestLoadPromise: Promise<void>;
|
|
125
124
|
subscribers: Set<RouterListener<RouterEvent>>;
|
|
126
125
|
pendingMatches: AnyRouteMatch[];
|