first
This commit is contained in:
8
types/i18n.d.ts
vendored
Normal file
8
types/i18n.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export {};
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProperties {
|
||||
$t: (key: string, opt?: Record<string, any>) => string;
|
||||
$tm: (key: string, opt?: Record<string, any>) => [] | { [p: string]: any };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user