From 2ffc4224065434802cfc3d29ed3c3e2ee7a07ab9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 1 Sep 2022 00:30:14 -0600 Subject: [PATCH] fix(types): body and json can be any --- types.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types.js b/types.js index 9420906..f5770ad 100644 --- a/types.js +++ b/types.js @@ -5,11 +5,11 @@ module.exports._typesOnly = true; /** * @callback Request * @param {Object} opts - * @param {String} [opts.body] + * @param {any} [opts.body] * @param {Object.} [opts.form] - * @param {Headers} opts.headers - * @param {Boolean | String} [opts.json] + * @param {Headers} [opts.headers] * @param {String} [opts.method] + * @param {Boolean | any} [opts.json] * @param {String} opts.url * @returns {Response} */ @@ -20,7 +20,7 @@ module.exports._typesOnly = true; * @prop {Headers} headers * @prop {Boolean} ok * @prop {any} [response] - TODO (browser only) - * @prop {any} request - TODO + * @prop {any} [request] - TODO * @prop {String} status * @prop {Number} statusCode */