Skip to content

Commit db33f39

Browse files
RiotRobott3chguy
andauthored
[Backport staging] Fix JSDoc (matrix-org#2827)
Co-authored-by: Michael Telatynski <[email protected]>
1 parent 1842004 commit db33f39

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/client.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7703,15 +7703,6 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
77037703
* @param {string=} opts.type Content-type for the upload. Defaults to
77047704
* <tt>file.type</tt>, or <tt>applicaton/octet-stream</tt>.
77057705
*
7706-
* @param {boolean=} opts.rawResponse Return the raw body, rather than
7707-
* parsing the JSON. Defaults to false (except on node.js, where it
7708-
* defaults to true for backwards compatibility).
7709-
*
7710-
* @param {boolean=} opts.onlyContentUri Just return the content URI,
7711-
* rather than the whole body. Defaults to false (except on browsers,
7712-
* where it defaults to true for backwards compatibility). Ignored if
7713-
* opts.rawResponse is true.
7714-
*
77157706
* @param {Function=} opts.progressHandler Optional. Called when a chunk of
77167707
* data has been uploaded, with an object containing the fields `loaded`
77177708
* (number of bytes transferred) and `total` (total size, if known).

src/http-api/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ export class MatrixHttpApi<O extends IHttpOpts> extends FetchHttpApi<O> {
5151
* @param {string=} opts.type Content-type for the upload. Defaults to
5252
* <tt>file.type</tt>, or <tt>application/octet-stream</tt>.
5353
*
54-
* @param {boolean=} opts.rawResponse Return the raw body, rather than
55-
* parsing the JSON. Defaults to false (except on node.js, where it
56-
* defaults to true for backwards compatibility).
57-
*
58-
* @param {boolean=} opts.onlyContentUri Just return the content URI,
59-
* rather than the whole body. Defaults to false (except on browsers,
60-
* where it defaults to true for backwards compatibility). Ignored if
61-
* opts.rawResponse is true.
62-
*
6354
* @param {Function=} opts.progressHandler Optional. Called when a chunk of
6455
* data has been uploaded, with an object containing the fields `loaded`
6556
* (number of bytes transferred) and `total` (total size, if known).

0 commit comments

Comments
 (0)