JSX element type 'Translation' does not have any construct or call signatures. #1178
Closed
5 tasks done
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
❗ p4-important
Priority 4: bugs that violate documented behavior, or significantly impact perf
Status: PR Welcome
Welcome to Pull Request
Type: Improvement
Includes backwards-compatible fixes
typescript
Reporting a bug?
using the Translation component in the JSX pure funtion component, there's an error in typescript.
Expected behavior
there should be no error there
Reproduction
app.tsx
System Info
Screenshot
No response
Additional context
I noticed that the defineCompoment wrapper is Annotated, is there any possibility to make it back?
Validations
The text was updated successfully, but these errors were encountered: