@tanstack/react-router 1.58.17 → 1.58.18
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 +1 -1
- package/src/router.ts +8 -6
package/package.json
CHANGED
package/src/router.ts
CHANGED
|
@@ -581,12 +581,14 @@ export function createRouter<
|
|
|
581
581
|
TDehydrated extends Record<string, any> = Record<string, any>,
|
|
582
582
|
TSerializedError extends Record<string, any> = Record<string, any>,
|
|
583
583
|
>(
|
|
584
|
-
options:
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
584
|
+
options: undefined extends number
|
|
585
|
+
? 'strictNullChecks must be enabled in tsconfig.json'
|
|
586
|
+
: RouterConstructorOptions<
|
|
587
|
+
TRouteTree,
|
|
588
|
+
TTrailingSlashOption,
|
|
589
|
+
TDehydrated,
|
|
590
|
+
TSerializedError
|
|
591
|
+
>,
|
|
590
592
|
) {
|
|
591
593
|
return new Router<
|
|
592
594
|
TRouteTree,
|