unibest/src/i18n.d.ts
2024-02-21 11:17:03 +08:00

10 lines
254 B
TypeScript

/* eslint-disable no-unused-vars */
export {}
declare module 'vue' {
interface ComponentCustomProperties {
$t: (key: string, opt?: Record<string, any>) => string
$tm: (key: string, opt?: Record<string, any>) => [] | { [p: string]: any }
}
}