Skip to content

Commit

Permalink
fix: Update types (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliyaZelenko authored and paulgv committed Jan 14, 2019
1 parent 90bcd80 commit 225e700
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
*/

import Vue from "vue";
import { Route } from "vue-router";
import { RawLocation } from "vue-router";

declare module "vue/types/vue" {
interface Vue {
localePath(route: string | Route, locale?: string): string;
localePath(route: RawLocation, locale?: string): string;
switchLocalePath(locale: string): string;
getRouteBaseName(route: Route): string;
getRouteBaseName(route: RawLocation): string;
}
}

0 comments on commit 225e700

Please sign in to comment.