refactor(frontend): remove $i
This commit is contained in:
3
packages/frontend/@types/vue.d.ts
vendored
3
packages/frontend/@types/vue.d.ts
vendored
@@ -1,12 +1,9 @@
|
||||
/// <reference types="vue/macros-global" />
|
||||
|
||||
import type { $i } from '@/account';
|
||||
import type { instance } from '@/instance';
|
||||
import type { i18n } from '@/i18n';
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProperties {
|
||||
$i: typeof $i;
|
||||
$t: typeof i18n['t'];
|
||||
$ts: typeof i18n['ts'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user