-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exported type definition is different from original #931
Exported type definition is different from original #931
Comments
A reproduction would help. Does |
Apologies, I realise the issue description above wasn't very helpful. For what it's worth I've done a bit more digging, and when I tried to create a minimal repro and all seemed to work as expected, but we are using You may need to globally install
I do realise this could potentially be some issue with using |
Thanks, that helped a lot. We use If you delete There's a number of other issues with that plugin in monorepos too (like #808) so maybe I'll take a look and see if there are any alternatives out there that handle some of these things better. TS is quite difficult to bundle correctly, especially in Rollup, so this isn't a criticism of that plugin. |
@rschristian awesome, thanks for the heads up. I had no idea about the symlink issues. After switching to |
I had no idea either, so I'm glad you brought this up. I'm actually going to reopen this, as I think it's quite useful for tracking and catching other users who run into this. While there's not much we can do here (short of migrating), this might become a more common issue with |
Hi there! I'm running into an issue where the exported type definition differs from the type definition of the actual component. For instance, if I hover over the
Box
component where it's being defined, I get the following type definition:But after I've run
microbundle build
the definition forBox
is missing all the props:Any ideas why that might be?
The text was updated successfully, but these errors were encountered: