Closed jorrit closed 9 months ago
It's my wrong, I noticed it, and fixed in https://github.com/ttag-org/ttag/pull/273/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R42
We will update the lib near time
Thanks!
You can try fix in ttag@1.8.5
. Thanks for the report and big thank to @stoyanovk for the fix :muscle:
I use
msgid
insidengettext
to get a plural string. I also add some other, nonnumeric arguments:This used to work fine. However, in 1.8.0 typescript was introduced, and the type of
msgid
is:The resulting error is:
I think the type of
...exprs
should beany[]
, just like with thet
function.Related to #267.