Skip to content
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

feat: support scanning types export under dirs #268

Merged
merged 4 commits into from
Sep 4, 2023

Conversation

antfu
Copy link
Member

@antfu antfu commented Sep 4, 2023

*
* @default true
*/
types?: boolean
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be enabled by default, and I am thinking of releasing it as a minor (3.4.0). Sounds good to you @danielroe?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that does 👍

@codecov
Copy link

codecov bot commented Sep 4, 2023

Codecov Report

Merging #268 (c411e26) into main (236c4b1) will decrease coverage by 0.04%.
Report is 1 commits behind head on main.
The diff coverage is 91.93%.

@@            Coverage Diff             @@
##             main     #268      +/-   ##
==========================================
- Coverage   97.67%   97.63%   -0.04%     
==========================================
  Files          57       57              
  Lines        1460     1483      +23     
  Branches      298      302       +4     
==========================================
+ Hits         1426     1448      +22     
- Misses         34       35       +1     
Files Changed Coverage Δ
src/scan-dirs.ts 93.12% <90.19%> (+0.02%) ⬆️
src/context.ts 97.37% <100.00%> (+<0.01%) ⬆️
src/types.ts 100.00% <100.00%> (ø)

@antfu antfu merged commit a57d863 into main Sep 4, 2023
3 checks passed
@antfu antfu deleted the feat/support-scan-type-exports branch September 4, 2023 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto importing custom types from a Directory type auto-imports from user directories
2 participants