更新ts类型导入导出语法

This commit is contained in:
lyswhut
2022-11-25 23:01:39 +08:00
parent 5e9b3a16fa
commit 77ea6d3748
19 changed files with 527 additions and 513 deletions
+4 -2
View File
@@ -1,9 +1,11 @@
import { createI18n, i18nPlugin, useI18n, I18n } from '@/lang'
import type { I18n } from '@/lang'
import { createI18n, i18nPlugin, useI18n } from '@/lang'
window.i18n = createI18n()
export {
i18nPlugin,
useI18n,
I18n,
}
export type { I18n }