fix: useI18n type breaking
This commit is contained in:
parent
2bf0106aa2
commit
0a61ec2bfe
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { flow } from "fp-ts/function"
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue