Open
Description
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
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
No labels