mirror of
https://github.com/codedread/bitjs
synced 2025-10-04 10:09:16 +02:00
Update to @returns in all jsdoc
This commit is contained in:
parent
bab0864bf8
commit
84514d1617
11 changed files with 57 additions and 57 deletions
|
@ -239,7 +239,7 @@ export class UnarchiveExtractEvent extends UnarchiveEvent {
|
|||
|
||||
/**
|
||||
* This method must be overridden by the subclass to return the script filename.
|
||||
* @return {string} The MIME type of the archive.
|
||||
* @returns {string} The MIME type of the archive.
|
||||
* @protected.
|
||||
*/
|
||||
getMIMEType() {
|
||||
|
@ -248,7 +248,7 @@ export class UnarchiveExtractEvent extends UnarchiveEvent {
|
|||
|
||||
/**
|
||||
* This method must be overridden by the subclass to return the script filename.
|
||||
* @return {string} The script filename.
|
||||
* @returns {string} The script filename.
|
||||
* @protected.
|
||||
*/
|
||||
getScriptFileName() {
|
||||
|
@ -287,7 +287,7 @@ export class UnarchiveExtractEvent extends UnarchiveEvent {
|
|||
/**
|
||||
* Create an UnarchiveEvent out of the object sent back from the Worker.
|
||||
* @param {Object} obj
|
||||
* @return {UnarchiveEvent}
|
||||
* @returns {UnarchiveEvent}
|
||||
* @private
|
||||
*/
|
||||
createUnarchiveEvent_(obj) {
|
||||
|
@ -437,7 +437,7 @@ export class UntarrerInternal extends Unarchiver {
|
|||
* @param {Function(string):Worker} createWorkerFn A function that creates a Worker from a script file.
|
||||
* @param {Object|string} options An optional object of options, or a string representing where
|
||||
* the path to the unarchiver script files.
|
||||
* @return {Unarchiver}
|
||||
* @returns {Unarchiver}
|
||||
*/
|
||||
export function getUnarchiverInternal(ab, createWorkerFn, options = {}) {
|
||||
if (ab.byteLength < 10) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue