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
Currently locale is typed as string and locales is string[].
The suggestion is to use tighter types like locale -> "en" | "de" in the case of a config like:
Describe the feature
const { locale, locales } = useI18n()
Currently
locale
is typed asstring
andlocales
isstring[]
.The suggestion is to use tighter types like
locale -> "en" | "de"
in the case of a config like:That would make type safe access to typed records possible. e.g.
Additional information
Final checks
The text was updated successfully, but these errors were encountered: