Skip to content

Commit 3bb933a

Browse files
authored
Fix RangeError link in @throws (#21)
2 parents a9d8d4d + b1fd4f5 commit 3bb933a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Multipart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class Multipart implements Part {
146146
* Get the bytes of the body of this multipart. Includes all parts separated by the boundary.
147147
* Does not include the headers.
148148
*
149-
* @throws {RangeError} If the multipart boundary is invalid. A valid boundary is 1 to 70 characters long,
149+
* @throws {@link !RangeError} If the multipart boundary is invalid. A valid boundary is 1 to 70 characters long,
150150
* does not end with space, and may only contain: A-Z a-z 0-9 '()+_,-./:=? and space
151151
*/
152152
public get body(): Uint8Array {
@@ -428,7 +428,7 @@ export class Multipart implements Part {
428428
/**
429429
* Get the bytes of the headers and {@link body} of this multipart.
430430
*
431-
* @throws {RangeError} If the multipart boundary is invalid. A valid boundary is 1 to 70 characters long,
431+
* @throws {@link !RangeError} If the multipart boundary is invalid. A valid boundary is 1 to 70 characters long,
432432
* does not end with space, and may only contain: A-Z a-z 0-9 '()+_,-./:=? and space
433433
*/
434434
public bytes(): Uint8Array {

0 commit comments

Comments
 (0)