Skip to content

Commit

Permalink
ref: changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv443 committed Jan 22, 2025
1 parent 99d268d commit 4b0ab30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .changeset/beige-dots-refuse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 4b0ab30

Please sign in to comment.