Skip to content

Commit

Permalink
chore: fix jsdoc with '*/'
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Mar 15, 2024
1 parent 07ab941 commit ac621a2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/verified-fetch/src/utils/byte-range-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,17 @@ export class ByteRangeContext {
}

/**
* This function returns the value of the "content-range" header.
* Content-Range: <unit> <range-start>-<range-end>/<size>
* Content-Range: <unit> <range-start>-<range-end>/*
* Content-Range: <unit> */<size>
* This function returns the values of the "content-range" header.
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range
*
* Returns data to support the following content ranges:
*
* @example
* - Content-Range: <unit> <byteStart>-<byteEnd>/<byteSize>
* - Content-Range: <unit> <byteStart>-<byteEnd>/&#8205;*
*/
// - Content-Range: <unit> */<byteSize> // this is purposefully not in jsdoc block
public get contentRangeHeaderValue (): string {
if (this._contentRangeHeaderValue != null) {
return this._contentRangeHeaderValue
Expand Down

0 comments on commit ac621a2

Please sign in to comment.