You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since plur defaults to returning the plural version, it's handy when you don't have a specific count but just want to get the plural form. Right now, plur('word') returns (correctly) words, but TypeScript complains about this usage. Would be nice if the type defs added a single-param overload.
I'm happy to open a PR if this sounds reasonable to the maintainers.
The text was updated successfully, but these errors were encountered:
Since plur defaults to returning the plural version, it's handy when you don't have a specific count but just want to get the plural form. Right now,
plur('word')
returns (correctly)words
, but TypeScript complains about this usage. Would be nice if the type defs added a single-param overload.I'm happy to open a PR if this sounds reasonable to the maintainers.
The text was updated successfully, but these errors were encountered: