Init commit.
This commit is contained in:
11
shims-vue-i18n.d.ts
vendored
Normal file
11
shims-vue-i18n.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// src/shims-vue-i18n.d.ts
|
||||
|
||||
import { I18n } from 'vue-i18n'
|
||||
|
||||
// Augment the ComponentCustomProperties interface in 'vue'
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
// Defines the $t property and its type
|
||||
$t: I18n['global']['t']
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user