- fix(types):
BackendModule.createtakes the parameters i18next passes it: a backend withcallbackApi: truegetscreate(languages, namespace, key, fallbackValue, callback, options), one withcallbackApi: falsegetscreate(languages, namespace, key, fallbackValue, options)and may return a promise. The types declared only the first four parameters, so a required fifth or sixth parameter failed to compile and an object-literal backend could not take them at all. One rare case now fails: acreate: (...args) => other.create(...args)that forwards to acreatetyped with exactly four parameters. The doc comments ofreadandreadMultinow describe their promise form (read(language, namespace)returning the data or a promise of it), which the types already accepted. - fix(types):
getFixedT()takes its fourth parameter,{ scopeNs }, the full list of namespaces the returnedtis bound to, which selector keys use to find a namespace prefix; lookups still usens(react-i18next'suseTranslationpasses it). - fix(types): the doc comment of
saveMissingPluralssays@default true, the runtime default since the option came in 10.3.0, notfalse.