Setting MultiLanguage using Typescript : adding i18n.d.ts for the compiler

This commit is contained in:
paolo
2018-12-22 18:42:00 +01:00
parent 7198b07bb6
commit bd832d3f92
13 changed files with 1192 additions and 108 deletions

7
src/typings/libs/i18n.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
import { VueI18n } from 'vue-i18n'
declare module 'vue/types/vue' {
interface Vue {
$i18n: VueI18n
}
}