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
namespacesRequired type in serverSideTranslations is not constrained by the Namespace anymore. Type-safety achieved by overriding CustomTypeOptions in i18next.d.ts is lost and any string is accepted now.
💥 Regression Report
namespacesRequired
type inserverSideTranslations
is not constrained by theNamespace
anymore. Type-safety achieved by overridingCustomTypeOptions
ini18next.d.ts
is lost and any string is accepted now.The change was introduced in this commit.
Note: Don't know the typescript error that the commit fixed, but shouldn't the
ElementArrayOrSelf
have the following typeLast working version
Worked up to version: 13.3.0
Stopped working in version: 14.0.0
Expected behavior
serverSideTranslations.namespacesRequired
accepts namespaces only. If no namespace is defined, any string is valid.The text was updated successfully, but these errors were encountered: