Incorrect types in the global $i18n object #3329
Labels
🔨 p3-minor-bug
Priority 3: a bug in an edge case that only affects very specific usage
typescript
workaround
Environment
Reproduction
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-ibsjbrfq?file=plugins%2Flanguage.ts
Describe the bug
Incorrect types in the global $i18n object. (Probably because of these changes: https://github.com/nuxt-modules/i18n/pull/3324/files)
The actual type of the locales variable is ref, not LocaleObject.
The text was updated successfully, but these errors were encountered: