|
|
@@ -3,7 +3,7 @@ export {}
|
|
|
|
|
|
declare module 'vue' {
|
|
|
interface ComponentCustomProperties {
|
|
|
- $t: (key: string) => string
|
|
|
- $tm: (key: string) => [] | { [p: string]: any }
|
|
|
+ $t: (key: string, opt?: Record<string, any>) => string
|
|
|
+ $tm: (key: string, opt?: Record<string, any>) => [] | { [p: string]: any }
|
|
|
}
|
|
|
}
|