-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Move JS doc tags like @param [obj.prop]
to the interface
#4974
Conversation
sameSite?: SameSite; | ||
/** Additional key value pairs with the form "key=value" */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was missing so I added it. Let me know if it can be better.
* @param [opts.extended=false] Support advanced ext globbing | ||
* @param [opts.globstar=false] Support globstar | ||
* @param [opts.strict=true] be laissez faire about mutiple slashes | ||
* @param [opts.filepath=""] Parse as filepath for extra path related features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default is actually false
and not ""
. This is a confusing property name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @dsherret
I was looking at Deno Doc and it looks like this:
This PR moves any
@param [obj.prop]
jsdoc tags those docs to the interface object, which will improve how it looks in Deno Doc.I know there's no issue for this, but this seemed like an easy quick fix to not bother (took only a few minutes).