i18next v26.4.1

v26.4.1
Fixed 1
  • the selector-form keyPrefix overload of getFixedT() is now available under enableSelector: 'strict'

From i18next

  • fix(types): the selector-form keyPrefix overload of getFixedT() is now available under enableSelector: 'strict'. Its constraint was gated on true | 'optimize' only, so under 'strict' it collapsed to never, the overload dropped out, and the returned t silently lost its keyPrefix scope (t(($) => $.deep) failed with Property 'deep' does not exist on type '{}'). The same call already typechecked under true and 'optimize'. Thanks @hovelopin (#2446).
View original

Upgraded? How did it go?

Discussion