We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b2db9 commit efad911Copy full SHA for efad911
src/router.ts
@@ -84,8 +84,8 @@ export interface RouterOptions {
84
}
85
86
export interface Router {
87
- history: RouterHistory
88
- currentRoute: Ref<RouteLocationNormalizedLoaded>
+ readonly history: RouterHistory
+ readonly currentRoute: Ref<RouteLocationNormalizedLoaded>
89
90
addRoute(parentName: RouteRecordName, route: RouteRecordRaw): () => void
91
addRoute(route: RouteRecordRaw): () => void
0 commit comments