[@types/react] ForwardRefExoticComponent imports all type when on compiled #61757
Unanswered
GZLiew
asked this question in
Issues with a @types package
Replies: 2 comments
-
|
Thanks for the discussion about "react", some useful links for everyone: Pinging the DT module owners: @johnnyreilly, @bbenezech, @pzavolinsky, @ericanderson, @DovydasNavickas, @theruther4d, @guilhermehubner, @ferdaber, @jrakotoharisoa, @pascaloliv, @Hotell, @franklixuefei, @Jessidhia, @saranshkataria, @lukyth, @eps1lon, @zieka, @dancerphil, @dimitropoulos, @disjukr, @vhfmag, @hellatan, @priyanshurav. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I don't understand where the "correct types" come from. Why wouldn't you expect |
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 have a normal component which uses the React.forwardRef method
but when I build by library I get the following types created
actual types
the correct type suppose to look like this
Beta Was this translation helpful? Give feedback.
All reactions