79681264

Date: 2025-06-26 23:29:49
Score: 1.5
Natty:
Report link

The person in the comments answered it correctly to my surprise.

i18next warns about incompatibility with versions of TypeScript below 5.0.0, and as my version in frontend was 4.9.5, it would not let me use this feature with namespaces.

The problem is that LanguageDetector and I18NextHttpBackend only fully work with TypeScript >5.0.0, and their usage with older versions will result in surprising errors in some cases.

TLDR: Upgrade TypeScript to >5.0.0

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tyler Delmas