refactor(frontend): remove $i
This commit is contained in:
parent
7a8a756789
commit
f16a7cbcf2
22 changed files with 34 additions and 19 deletions
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'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue