Replies: 2 comments
-
@liningpan this has been driving me crazy the past few days. I still don't understand what's going on. but appreciate the workaround. it's not limited to disclosure -- all components seem to not resolve the correct react types. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looks like this is due to having different @types/react. Can be worked around by manually overriding. For instance in pnpm:
|
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.
-
I observed some weird type errors related to disclosure when using pnpm with
hoist=false
and bazel. Adding thepreserveSymlinks
compiler option seem to resolve the issue.Beta Was this translation helpful? Give feedback.
All reactions