@tanstack/react-router 1.14.2 → 1.14.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/src/router.ts CHANGED
@@ -249,9 +249,6 @@ export function createRouter<
249
249
  return new Router<TRouteTree, TDehydrated, TSerializedError>(options)
250
250
  }
251
251
 
252
- /**
253
- * @deprecated Use the `createRouter` function instead
254
- */
255
252
  export class Router<
256
253
  TRouteTree extends AnyRoute = AnyRoute,
257
254
  TDehydrated extends Record<string, any> = Record<string, any>,
@@ -287,6 +284,9 @@ export class Router<
287
284
  routesByPath!: RoutesByPath<TRouteTree>
288
285
  flatRoutes!: AnyRoute[]
289
286
 
287
+ /**
288
+ * @deprecated Use the `createRouter` function instead
289
+ */
290
290
  constructor(
291
291
  options: RouterConstructorOptions<
292
292
  TRouteTree,