Setting MultiLanguage using Typescript : adding i18n.d.ts for the compiler
This commit is contained in:
7
src/typings/libs/i18n.d.ts
vendored
Normal file
7
src/typings/libs/i18n.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { VueI18n } from 'vue-i18n'
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$i18n: VueI18n
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user