summaryrefslogtreecommitdiff
path: root/op_crates/file
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2021-04-28 19:38:51 +0530
committerGitHub <noreply@github.com>2021-04-28 10:08:51 -0400
commit2bd087ab1b2c2047b1681b8bb369a1f8acf30019 (patch)
tree5a8cc8fdb5956e9396416dbe473440c449161c24 /op_crates/file
parent8c6f97719215815eae63cfb7cdcb5def27756a3a (diff)
chore: upgrade dprint plugins (#10397)
Diffstat (limited to 'op_crates/file')
-rw-r--r--op_crates/file/01_file.js14
-rw-r--r--op_crates/file/02_filereader.js4
-rw-r--r--op_crates/file/03_blob_url.js4
3 files changed, 11 insertions, 11 deletions
diff --git a/op_crates/file/01_file.js b/op_crates/file/01_file.js
index 47b44a08e..05c410572 100644
--- a/op_crates/file/01_file.js
+++ b/op_crates/file/01_file.js
@@ -69,7 +69,7 @@
/**
* @param {...Uint8Array} bytesArrays
- * @returns {Uint8Array}
+ * @returns {Uint8Array}
*/
function concatUint8Arrays(...bytesArrays) {
let byteLength = 0;
@@ -90,7 +90,7 @@
/** @typedef {BufferSource | Blob | string} BlobPart */
- /**
+ /**
* @param {BlobPart[]} parts
* @param {string} endings
* @returns {Uint8Array}
@@ -125,7 +125,7 @@
}
/**
- * @param {string} str
+ * @param {string} str
* @returns {string}
*/
function normalizeType(str) {
@@ -186,7 +186,7 @@
return this.#type;
}
- /**
+ /**
* @param {number} [start]
* @param {number} [end]
* @param {string} [contentType]
@@ -346,9 +346,9 @@
[_LastModfied];
/**
- * @param {BlobPart[]} fileBits
- * @param {string} fileName
- * @param {FilePropertyBag} options
+ * @param {BlobPart[]} fileBits
+ * @param {string} fileName
+ * @param {FilePropertyBag} options
*/
constructor(fileBits, fileName, options = {}) {
const prefix = "Failed to construct 'File'";
diff --git a/op_crates/file/02_filereader.js b/op_crates/file/02_filereader.js
index 640c6dd9e..9575ab85a 100644
--- a/op_crates/file/02_filereader.js
+++ b/op_crates/file/02_filereader.js
@@ -37,7 +37,7 @@
[aborted] = false;
- /**
+ /**
* @param {Blob} blob
* @param {{kind: "ArrayBuffer" | "Text" | "DataUrl" | "BinaryString", encoding?: string}} readtype
*/
@@ -309,7 +309,7 @@
this.#readOperation(blob, { kind: "DataUrl" });
}
- /**
+ /**
* @param {Blob} blob
* @param {string} [encoding]
*/
diff --git a/op_crates/file/03_blob_url.js b/op_crates/file/03_blob_url.js
index 570aa4342..2b5e16b55 100644
--- a/op_crates/file/03_blob_url.js
+++ b/op_crates/file/03_blob_url.js
@@ -19,7 +19,7 @@
const { _byteSequence } = window.__bootstrap.file;
const { URL } = window.__bootstrap.url;
- /**
+ /**
* @param {Blob} blob
* @returns {string}
*/
@@ -40,7 +40,7 @@
return url;
}
- /**
+ /**
* @param {string} url
* @returns {void}
*/