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 90bcd80 commit 225e700Copy full SHA for 225e700
types/vue.d.ts
@@ -3,12 +3,12 @@
3
*/
4
5
import Vue from "vue";
6
-import { Route } from "vue-router";
+import { RawLocation } from "vue-router";
7
8
declare module "vue/types/vue" {
9
interface Vue {
10
- localePath(route: string | Route, locale?: string): string;
+ localePath(route: RawLocation, locale?: string): string;
11
switchLocalePath(locale: string): string;
12
- getRouteBaseName(route: Route): string;
+ getRouteBaseName(route: RawLocation): string;
13
}
14
0 commit comments