Skip to content

docs: add more examples in jsdoc#291

Merged
nozomuikuta merged 6 commits intounjs:mainfrom
Mini-ghost:docs/jsdoc
Apr 15, 2025
Merged

docs: add more examples in jsdoc#291
nozomuikuta merged 6 commits intounjs:mainfrom
Mini-ghost:docs/jsdoc

Conversation

@Mini-ghost
Copy link
Copy Markdown
Contributor

In this PR, I’ve added JSDoc comments to most of the utility functions, in the hope that these examples can help users better understand the purpose and usage of each function.

Perhaps we could also consider including some of them in the README?

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.65%. Comparing base (d283cf5) to head (9763ae0).
Report is 86 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #291      +/-   ##
==========================================
+ Coverage   95.27%   97.65%   +2.38%     
==========================================
  Files           7        7              
  Lines         867      724     -143     
  Branches      187      242      +55     
==========================================
- Hits          826      707     -119     
+ Misses         41       17      -24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@nozomuikuta nozomuikuta left a comment

Choose a reason for hiding this comment

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

I just pushed a commit to delete a redundant line break.
Thank you for the PR!

@nozomuikuta nozomuikuta merged commit 8515b24 into unjs:main Apr 15, 2025
4 checks passed
@Mini-ghost Mini-ghost deleted the docs/jsdoc branch April 16, 2025 17:50
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.

2 participants