Sourced from i18next-cli's changelog.
1.67.9
- fix(types): derive
defaultNSfrom the generated resources whenextract.defaultNSisfalse. i18next's type system cannot expressdefaultNS: false—DefaultNamespace = TypeOptions['defaultNS']feedsNs extends Namespace, so emittingfalsemade everyt()call silently accept any string and the generated definitions checked nothing. The namespace is now taken from the keys of the generatedResourcesinterface (deduplicated and sorted, preferring'translation', and preferring a namespace insidetypes.basePathover one resolved outside of it), with a warning naming the pick.falseis still emitted when the resource files are named after locales (en.json+de.json), where deriving would turn sibling languages into namespaces. Only affectsi18next.d.tson first creation;resources.d.tsand--cibehavior are unchanged (#280).
0070803
1.67.94540650
fix(types): harden defaultNS derivation when extract.defaultNS is
falsee42bdaf
fix(types): derive defaultNS from generated resources when
extract.defaultNS ...