[RAC]component cannot be used as a JSX component according to tsc #5161
Unanswered
synecdokey
asked this question in
Q&A
Replies: 2 comments
-
This may be related to the active discussion in #5157 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would you mind trying upgrading your TS and types/react to the latest versions? also check if you have multiple versions of @types/react |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Whenever I try using a component from
react-aria-components
, the typescript compiler tells me some version of this error:It runs fine at runtime, it's only an issue for Typescript.
I am using the beta version of
react-aria-components
, my typescript is version5.1
, and my@types/react
is18.2.21
.Beta Was this translation helpful? Give feedback.
All reactions