Skip to content

Commit 40b9428

Browse files
committed
fix jsdoc
1 parent eed4b0b commit 40b9428

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

packages/router-core/src/route.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,8 +1193,6 @@ export interface UpdatableRouteOptions<
11931193
*/
11941194
skipRouteOnParseError?: {
11951195
/**
1196-
* @default false
1197-
*
11981196
* If `true`, skip this route during matching if `params.parse` fails.
11991197
*
12001198
* Without this option, a `/$param` route could match *any* value for `param`,
@@ -1204,20 +1202,16 @@ export interface UpdatableRouteOptions<
12041202
* With this option enabled, the route will only match if `params.parse` succeeds.
12051203
* If it fails, the router will continue trying to match other routes, potentially
12061204
* finding a different route that works, or ultimately showing the `notFoundComponent`.
1207-
*/
1208-
params?: boolean
1209-
/**
1210-
* @default false
12111205
*
1212-
* If `true`, skip this route during matching if `validateSearch` fails.
1206+
* @default false
12131207
*/
1214-
search?: boolean // future option for search params
1208+
params?: boolean
12151209
/**
1216-
* @default 0
1217-
*
12181210
* In cases where multiple routes would need to run `params.parse` during matching
12191211
* to determine which route to pick, this priority number can be used as a tie-breaker
12201212
* for which route to try first. Higher number = higher priority.
1213+
*
1214+
* @default 0
12211215
*/
12221216
priority?: number
12231217
}

0 commit comments

Comments
 (0)