From 6c475d9b54c724946a0b31b2a93da96a6bb4fbfe Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 31 Oct 2022 16:50:15 +0000 Subject: [PATCH] Fix JSDoc (#2825) --- src/client.ts | 9 --------- src/http-api/index.ts | 9 --------- 2 files changed, 18 deletions(-) diff --git a/src/client.ts b/src/client.ts index 67d56f7b9..7652845d9 100644 --- a/src/client.ts +++ b/src/client.ts @@ -7915,15 +7915,6 @@ export class MatrixClient extends TypedEventEmitterfile.type, or applicaton/octet-stream. * - * @param {boolean=} opts.rawResponse Return the raw body, rather than - * parsing the JSON. Defaults to false (except on node.js, where it - * defaults to true for backwards compatibility). - * - * @param {boolean=} opts.onlyContentUri Just return the content URI, - * rather than the whole body. Defaults to false (except on browsers, - * where it defaults to true for backwards compatibility). Ignored if - * opts.rawResponse is true. - * * @param {Function=} opts.progressHandler Optional. Called when a chunk of * data has been uploaded, with an object containing the fields `loaded` * (number of bytes transferred) and `total` (total size, if known). diff --git a/src/http-api/index.ts b/src/http-api/index.ts index 1656c04ae..0c9b0b623 100644 --- a/src/http-api/index.ts +++ b/src/http-api/index.ts @@ -51,15 +51,6 @@ export class MatrixHttpApi extends FetchHttpApi { * @param {string=} opts.type Content-type for the upload. Defaults to * file.type, or application/octet-stream. * - * @param {boolean=} opts.rawResponse Return the raw body, rather than - * parsing the JSON. Defaults to false (except on node.js, where it - * defaults to true for backwards compatibility). - * - * @param {boolean=} opts.onlyContentUri Just return the content URI, - * rather than the whole body. Defaults to false (except on browsers, - * where it defaults to true for backwards compatibility). Ignored if - * opts.rawResponse is true. - * * @param {Function=} opts.progressHandler Optional. Called when a chunk of * data has been uploaded, with an object containing the fields `loaded` * (number of bytes transferred) and `total` (total size, if known).