Skip to content

Commit 3be0abd

Browse files
committed
fix(types): missing options in RouteLocationGeneric
1 parent bf813e8 commit 3be0abd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/router/src/typed-routes/route-location.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import type { RouteRecordNameGeneric } from './route-records'
1515
/**
1616
* Generic version of {@link RouteLocation}. It is used when no {@link RouteMap} is provided.
1717
*/
18-
export interface RouteLocationGeneric extends _RouteLocationBase {
18+
export interface RouteLocationGeneric
19+
extends _RouteLocationBase,
20+
RouteLocationOptions {
1921
/**
2022
* Array of {@link RouteRecord} containing components as they were
2123
* passed when adding records. It can also contain redirect records. This

0 commit comments

Comments
 (0)