fix: useI18n type breaking
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { flow } from "fp-ts/function"
|
|
||||||
import { useI18n as _useI18n } from "vue-i18n"
|
import { useI18n as _useI18n } from "vue-i18n"
|
||||||
|
|
||||||
export const useI18n = flow(_useI18n, (x) => x.t)
|
export function useI18n() {
|
||||||
|
return _useI18n().t
|
||||||
|
}
|
||||||
|
|
||||||
export const useFullI18n = _useI18n
|
export const useFullI18n = _useI18n
|
||||||
|
|||||||
Reference in New Issue
Block a user