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
I was integrating i18next into my Astro site with Starlight and found that the TypeScript compiler will force the defaultNS field for any i18next instance to be 'starlight', which will make the t function type errors if the keys don't match.
What version of
starlight
are you using?0.30.0
What version of
astro
are you using?5.1.1
What package manager are you using?
pnpm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
I was integrating i18next into my Astro site with Starlight and found that the TypeScript compiler will force the
defaultNS
field for any i18next instance to be'starlight'
, which will make the t function type errors if the keys don't match.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ytqftcmh?file=src%2Fpages%2Ftest.astro
Participation
The text was updated successfully, but these errors were encountered: