Skip to content
Myr

build: fix up jsdoc return values

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #2243

authored by Vasilyev Dmitry · committed by Douglas Christopher Wilson · parent e29fa25 · Browse files · 1 file+4 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−2 removed

  • other:+4 added−2 removed

1 file+4 added−2 removed

modified:lib/response.js+4 added-2 removed
623 unmodified lines
624 * Clear cookie `name`.625 *626 * @param {String} name627 * @param {Object} options628 * @param {ServerResponse} for chaining628 * @return {ServerResponse} for chaining629 * @api public630 */631632res.clearCookie = function(name, options){
22 unmodified lines
655 *656 * @param {String} name657 * @param {String|Object} val658 * @param {Options} options659 * @return {ServerResponse} for chaining660 * @api public661 */662663res.cookie = function(name, val, options){
37 unmodified lines
701 * res.location('http://example.com');702 * res.location('../login');703 *704 * @param {String} url705 * @return {ServerResponse} for chaining706 * @api public707 */708709res.location = function(url){
76 unmodified lines
786 * Add `field` to Vary. If already present in the Vary set, then787 * this call is simply ignored.788 *789 * @param {Array|String} field788 * @param {ServerResponse} for chaining790 * @return {ServerResponse} for chaining791 * @api public792 */793794res.vary = function(field){
47 unmodified lines