Skip to content

Commit 225e700

Browse files
iliyaZelenkopaulgv
authored andcommitted
fix: Update types (#167)
1 parent 90bcd80 commit 225e700

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types/vue.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
*/
44

55
import Vue from "vue";
6-
import { Route } from "vue-router";
6+
import { RawLocation } from "vue-router";
77

88
declare module "vue/types/vue" {
99
interface Vue {
10-
localePath(route: string | Route, locale?: string): string;
10+
localePath(route: RawLocation, locale?: string): string;
1111
switchLocalePath(locale: string): string;
12-
getRouteBaseName(route: Route): string;
12+
getRouteBaseName(route: RawLocation): string;
1313
}
1414
}

0 commit comments

Comments
 (0)