ソースを参照

ref: changeset

Sv443 3 ヶ月 前
コミット
c5e08cf694
1 ファイル変更1 行追加0 行削除
  1. 1 0
      .changeset/beige-dots-refuse.md

+ 1 - 0
.changeset/beige-dots-refuse.md

@@ -18,3 +18,4 @@
 - Added ability to specify transform patterns and functions for arbitrary modification of the translation string.
   - Added transform for template literal syntax (e.g. `${keyName}`) with `tr.addTransform(tr.transforms.templateLiteral)`. This transform supports positional argument injection, as well as named arguments via an object with the same keys as in the template literal pattern. See the documentation for more information and a code example.
 - Added TS type `TrKeys<T>` for extracting the keys of a translation object (both flat and nested).
+- Fixed bug with resolving translations for flat objects.