Skip to content

http: correct JSDoc declaration of parameter with properties

Rodrigo Muino Tomonari requested to merge github/fork/Trott/optional-params into master

Use JSDoc declaration of parameter with properties as described in https://jsdoc.app/tags-param.html#parameters-with-properties.

(I discoverecd this problem while experimenting with a tool to generate markdown documentation from JSDoc comments. It did not recognize the question mark and after looking around, it appears to be non-standard.)

Merge request reports

Loading