Skip to content

Commit ca42089

Browse files
authoredNov 25, 2022
Merge pull request #1752 from romainmnr/patch-1
Add missing typing for withCredentials()
2 parents 79374d6 + 68a14c8 commit ca42089

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/request-base.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ RequestBase.prototype._auth = function (user, pass, options, base64Encoder) {
543543
* using "Access-Control-Allow-Origin" with a wildcard,
544544
* and also must set "Access-Control-Allow-Credentials"
545545
* to "true".
546-
*
546+
* @param {Boolean} [on=true] - Set 'withCredentials' state
547+
* @return {Request} for chaining
547548
* @api public
548549
*/
549550

0 commit comments

Comments
 (0)
Please sign in to comment.