Skip to content
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

Problem with types - formatMessage #3

Open
tomexx opened this issue Mar 14, 2023 · 1 comment
Open

Problem with types - formatMessage #3

tomexx opened this issue Mar 14, 2023 · 1 comment

Comments

@tomexx
Copy link

tomexx commented Mar 14, 2023

Hi, there is a problem with types of formatMessage method.

Type '(item: string[]) => Element' is not assignable to type 'Node | ArrayElement | FunctionElement | (string & {}) | PrimitiveType | FormatXMLElementFn<number | boolean | Node | ArrayElement | FunctionElement | (string & {}) | null | undefined, string | ... 8 more ... | undefined>'.

image

@themgoncalves
Copy link
Contributor

themgoncalves commented Mar 28, 2023

Hello @tomexx, sadly that's a common issue that comes from the root library formatjs, which I recommend to share this issue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants