Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 321 Bytes
/**
* Extends interfaces in Vue.js
*/
import Vue from "vue";
import { RawLocation } from "vue-router";
declare module "vue/types/vue" {
interface Vue {
localePath(route: RawLocation, locale?: string): string;
switchLocalePath(locale: string): string;
getRouteBaseName(route: RawLocation): string;
}
}