@tanstack/react-router 0.0.1-beta.145 → 0.0.1-beta.147
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/index.js.map +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +61 -61
- package/build/types/index.d.ts +1 -1
- package/build/umd/index.development.js +11 -43
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +3 -3
- package/src/index.tsx +3 -1
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.
|
|
4
|
+
"version": "0.0.1-beta.147",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "tanstack/router",
|
|
7
7
|
"homepage": "https://tanstack.com/router",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"tiny-invariant": "^1.3.1",
|
|
44
44
|
"tiny-warning": "^1.0.3",
|
|
45
45
|
"@gisatcz/cross-package-react-context": "^0.2.0",
|
|
46
|
-
"@tanstack/router-core": "0.0.1-beta.
|
|
47
|
-
"@tanstack/react-store": "0.0.1-beta.
|
|
46
|
+
"@tanstack/router-core": "0.0.1-beta.147",
|
|
47
|
+
"@tanstack/react-store": "0.0.1-beta.147"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "rollup --config rollup.config.js"
|
package/src/index.tsx
CHANGED
|
@@ -42,9 +42,11 @@ declare module '@tanstack/router-core' {
|
|
|
42
42
|
interface RegisterRouteComponent<TProps extends Record<string, any>> {
|
|
43
43
|
RouteComponent: RouteComponent<TProps>
|
|
44
44
|
}
|
|
45
|
+
|
|
45
46
|
interface RegisterRouteErrorComponent<TProps extends Record<string, any>> {
|
|
46
|
-
|
|
47
|
+
RouteErrorComponent: RouteComponent<TProps>
|
|
47
48
|
}
|
|
49
|
+
|
|
48
50
|
// Extend the Route class to have some React-Specific methods
|
|
49
51
|
interface Route<
|
|
50
52
|
TParentRoute extends AnyRoute = AnyRoute,
|