Open DavidDeSloovere opened 1 month ago
event.context.i18n?.locale is typed as string I use a custom defineI18nLocaleDetector, and the actual type of locale on the context is function (it's value is [Function: bound localeDetector] AsyncFunction)
event.context.i18n?.locale
defineI18nLocaleDetector
function
[Function: bound localeDetector] AsyncFunction
Would it be possible to change the typing?
See also https://github.com/nuxt-modules/i18n/discussions/2010#discussioncomment-7829274
Describe the feature
event.context.i18n?.locale
is typed as string I use a customdefineI18nLocaleDetector
, and the actual type of locale on the context isfunction
(it's value is[Function: bound localeDetector] AsyncFunction
)Would it be possible to change the typing?
See also https://github.com/nuxt-modules/i18n/discussions/2010#discussioncomment-7829274
Additional information
Final checks