-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add the supplyDefaultsInJsDoc
setting
#442
Conversation
If a field has a default value, add its stringified representation to the JsDoc using the @default annotation.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #442 +/- ##
==========================================
+ Coverage 98.48% 98.50% +0.02%
==========================================
Files 9 9
Lines 661 670 +9
Branches 266 262 -4
==========================================
+ Hits 651 660 +9
Misses 10 10 ☔ View full report in Codecov by Sentry. |
I'm wondering whether this should use |
Difference JSON
util.inspect
|
I had to google it, but it sounds interesting, it would be easier than calculating indentations |
@cmaster11 would you like to be a collaborator on this repo? |
@mrjono1 I can be interested for sure, given how much I've been loving it :D |
invite sent! |
Getting back to the feat, there are multiple options.
Thing is, |
Maybe the tradeoff can be the |
Still LGTM? |
Add the
supplyDefaultsInJsDoc
settingIf a field has a default value, add its stringified representation to the JsDoc using the
@default
annotation.