@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/react-router",
3
3
  "author": "Tanner Linsley",
4
- "version": "0.0.1-beta.268",
4
+ "version": "0.0.1-beta.269",
5
5
  "license": "MIT",
6
6
  "repository": "tanstack/router",
7
7
  "homepage": "https://tanstack.com/router",
@@ -44,7 +44,7 @@
44
44
  "@tanstack/store": "^0.1.3",
45
45
  "tiny-invariant": "^1.3.1",
46
46
  "tiny-warning": "^1.0.3",
47
- "@tanstack/history": "0.0.1-beta.268"
47
+ "@tanstack/history": "0.0.1-beta.269"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "rollup --config rollup.config.js"
package/src/router.ts CHANGED
@@ -30,6 +30,7 @@ import {
30
30
  functionalUpdate,
31
31
  last,
32
32
  pick,
33
+ Timeout,
33
34
  } from './utils'
34
35
  import {
35
36
  ErrorRouteComponent,
@@ -226,7 +227,7 @@ export class Router<
226
227
  Math.random() * 10000000,
227
228
  )}`
228
229
  resetNextScroll: boolean = true
229
- navigateTimeout: NodeJS.Timeout | null = null
230
+ navigateTimeout: Timeout | null = null
230
231
  latestLoadPromise: Promise<void> = Promise.resolve()
231
232
  subscribers = new Set<RouterListener<RouterEvent>>()
232
233
  pendingMatches: AnyRouteMatch[] = []