Skip to content

Commit 9efbeca

Browse files
committed
leave wildcard is no longer required
1 parent fb88ffb commit 9efbeca

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/router-core/src/path.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ function baseParsePathname(pathname: string): ReadonlyArray<Segment> {
377377
interface InterpolatePathOptions {
378378
path?: string
379379
params: Record<string, unknown>
380-
leaveWildcards?: boolean
381380
leaveParams?: boolean
382381
// Map of encoded chars to decoded chars (e.g. '%40' -> '@') that should remain decoded in path params
383382
decodeCharMap?: Map<string, string>

packages/router-core/tests/path.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ describe('interpolatePath', () => {
531531
interpolatePath({
532532
path: to,
533533
params,
534-
leaveWildcards: false,
535534
leaveParams: true,
536535
}).interpolatedPath,
537536
).toBe(result)

0 commit comments

Comments
 (0)