Replies: 1 comment
-
The types are re-exported and those deps are installed transitively anyway. There is something wrong with your setup if they resolve to |
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
-
When I initially installed
@floating-ui/rect
, I had a lot of types (e.g.flip
,offset
,autoUpdate
etc. resolving toany
, that after closer inspection were declared in@floating-ui/react-dom
and@floating-ui/dom
.I had to add the following
devDependencies
:This makes sense as
@floating-ui/react
has intypes.d.ts
imports from packages that were not initially imported, e.g.Is this a bug or should these types be bundled with
@floating-ui/react
?Beta Was this translation helpful? Give feedback.
All reactions