You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
Reporting a bug?
I'm using vue-i18n 9.2.2, and the typing of 18n.global.locale is string, but is should be ComputedRef<string>?
My setup:
Typing reported in VS-code of
i18n.global.locale
:ts (property) VueI18n<{}, {}, {}, string, never, string, Composer<{}, {}, {}, string, never, string>>.locale: string
However the variable is clearly a computed ref (from console log):
ComputedRefImpl {dep: undefined, __v_isRef: true, __v_isReadonly: false, _dirty: true, _setter: ƒ, …}
Expected behavior
Typing of i18n.global.locale (and posisble others) should be a computed ref e.g.
(property) VueI18n<{}, {}, {}, string, never, string, Composer<{}, {}, {}, string, never, string>>.locale: ComputedRef<string>
Reproduction
See intro text
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: