@tanstack/react-router 1.129.0 → 1.129.3
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/llms/rules/api.js
CHANGED
|
@@ -1668,7 +1668,7 @@ An instance of the \`Router\` has the following properties and methods:
|
|
|
1668
1668
|
|
|
1669
1669
|
### \`.matchRoutes\` method
|
|
1670
1670
|
|
|
1671
|
-
- Type: \`(pathname: string, locationSearch
|
|
1671
|
+
- Type: \`(pathname: string, locationSearch?: Record<string, any>, opts?: { throwOnError?: boolean; }) => RouteMatch[]\`
|
|
1672
1672
|
- Matches a pathname and search params against the router's route tree and returns an array of route matches.
|
|
1673
1673
|
- If \`opts.throwOnError\` is \`true\`, any errors that occur during the matching process will be thrown (in addition to being returned in the route match's \`error\` property).
|
|
1674
1674
|
|