-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PluralProps doesn't include values
#1444
Comments
Would you like to send a Pull Request to address this? |
@adrai Sure, I can attempt that. Should I use the same type that's used for |
Maybe @pedrodurek can advice? |
As we don't infer other props based on |
@adrai @pedrodurek Just opened one here: #1446. Haven't created too many Github PRs, lemme know if I'm missing anything :) |
🐛 Bug Report
The
PluralProps
type as defined in ts4.1/icu.macro.d.ts doesn't include thevalues
prop, which is required if there is a placeholder value inside a pluralized translationTo Reproduce
Without
@ts-ignore
, TS complains thatTS2322: Type 'string' is not assignable to type 'never'.
Expected behavior
No type error
Your Environment
The text was updated successfully, but these errors were encountered: