Use case
Framework
Owner
I18n/23/Remove Options
Modification of the InterpolationOptions type. In version 23.0.0, the ns property within InterpolationOptions is now constrained to be of type Namespace instead of being a string or a readonly string[]. This change requires you to adjust your code accordingly.
I18n/23/Add Namespace Type Annotation
Modification of the InterpolationOptions type. In version 23.0.0, the ns property within InterpolationOptions is now constrained to be of type Namespace instead of being a string or a readonly string[]. This change requires you to adjust your code accordingly.
I18n/23/I18next Replace Keyswithseparator With Joinkeys
Renaming types or functions can be part of an effort to clarify the library's API, deprecate old functionality, or introduce new features. In this case, KeysWithSeparator has been renamed to JoinKeys. This means wherever KeysWithSeparator was used in the codebase, it needs to be replaced with JoinKeys.
Next I18next/Copy Keys
This codemod copies specific keys from one translation namespace to another, for each of the supported languages.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community