Repository navigation
fix: add typeFrom support for autoimports exports generation - #3963
Conversation
|
@8ctavio is attempting to deploy a commit to the Nitro Team on Vercel. A member of the Team first needs to authorize it. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I think changing |
commit: |
🔗 Linked issue
#3669 part 2
❓ Type of change
📚 Description
PR #3670 added imports'
typeFormsupport for global declarations; this PR addstypeFromsupport for autoimports'exportstatements, so that explicit imports from#importsmay also find type declarations.Inside the
writeTypesfunction,toExportscall is updated to use imports'typeFromproperty when available (see unjs/unimport#477).📝 Checklist