You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
260 B
TypeScript
16 lines
260 B
TypeScript
4 years ago
|
import VueI18n from 'vue-i18n';
|
||
|
import Vue from 'vue';
|
||
|
|
||
|
declare module 'vue/types/vue' {
|
||
|
interface Vue {
|
||
|
$t: VueI18n;
|
||
|
$i18n: VueI18n;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
declare module 'vue/types/options' {
|
||
|
interface ComponentOptions<V extends Vue> {
|
||
|
i18n?: VueI18n;
|
||
|
}
|
||
|
}
|