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
Hmm I guess we should be exporting this if we originally did this, I can see the value of having it available for end users though I don't think this was documented.
Not sure if it should be the generated narrowed type (locale code string literals) or a more permissive version, or both?
@Xenossolitarius
I'm not sure what you mean, can you provide more information?
Environment
Nuxt project info: 11:04:15 PM
Reproduction
https://stackblitz.com/edit/github-z4bplq?file=types%2Flocale.ts
Go to
types/locale.ts
file and check theLocaleObject
import...or launch
pnpm typecheck
in terminal to see that error.Describe the bug
LocaleObject
is no longer exported from the@nuxtjs/i18n
module (v9).Additional context
No response
Logs
error TS2614: Module '"@nuxtjs/i18n"' has no exported member 'LocaleObject'. Did you mean to use 'import LocaleObject from "@nuxtjs/i18n"' instead?
2 import type { LocaleObject } from '@nuxtjs/i18n'
The text was updated successfully, but these errors were encountered: