fix: use arg_<index> for anonymous doc parameters - #3087
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Hello! Thank you for opening your first PR to npmx, @KazariAI! 🚀 Here’s what will happen next:
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
📝 WalkthroughWalkthroughDocumentation signature formatting now uses shared helpers that support optional and unnamed parameters, generating positional names such as ChangesParameter formatting
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
@deno/docomitsnamefor parameters destructured directly in parameter lists, causing package docs to renderundefinedas the parameter name. This adds positional fallback names and regression coverage.The fallback uses
arg_<index>because TypeScript uses the same form for unlabeled tuple elements, while the zero-based index keeps multiple anonymous parameters distinct.This pull request was created with assistance from a code agent.