Skip to content

Commit fd6e641

Browse files
authored
fix(vue): Make Router.name type optional to match VueRouter (#3843)
1 parent caae939 commit fd6e641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type VueRouterInstrumentation = <T extends Transaction>(
1111
type Route = {
1212
params: any;
1313
query: any;
14-
name: any;
14+
name?: any;
1515
path: any;
1616
matched: any[];
1717
};

0 commit comments

Comments
 (0)