From 68a14c8497f20d6538c645d2c02399a0f443dcc4 Mon Sep 17 00:00:00 2001 From: Romain Meunier Date: Thu, 24 Nov 2022 12:19:34 +0100 Subject: [PATCH] Add missing typing for withCredentials() --- src/request-base.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/request-base.js b/src/request-base.js index 6547f43bf..e8c348db0 100644 --- a/src/request-base.js +++ b/src/request-base.js @@ -543,7 +543,8 @@ RequestBase.prototype._auth = function (user, pass, options, base64Encoder) { * using "Access-Control-Allow-Origin" with a wildcard, * and also must set "Access-Control-Allow-Credentials" * to "true". - * + * @param {Boolean} [on=true] - Set 'withCredentials' state + * @return {Request} for chaining * @api public */