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
When importing IntlShape from @formatjs/intl, I saw a type mismatch with the one in react-intl
react-intl
@formatjs/intl
Therefore, when passing the result of createIntl from @formatjs/intl to RawIntlProvider from react-intl, typescript 5.5.4 complaining about the type mismatch
Expected behavior
IntlShape type should be interchangable between @formatjs/intl and react-intl
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Which package?
@formatjs/intl and react-intl
Describe the bug
When importing
IntlShape
from@formatjs/intl
, I saw a type mismatch with the one inreact-intl
react-intl
@formatjs/intl
Therefore, when passing the result of
createIntl
from@formatjs/intl
toRawIntlProvider
fromreact-intl
, typescript 5.5.4 complaining about the type mismatchExpected behavior
IntlShape
type should be interchangable between@formatjs/intl
andreact-intl
The text was updated successfully, but these errors were encountered: