Files
qiaoshi-tooth-web/shims-vue-i18n.d.ts
sleepwithoutbz de451f2aab Init commit.
2025-11-10 00:45:30 +08:00

12 lines
276 B
TypeScript

// 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']
}
}