summaryrefslogtreecommitdiff
path: root/op_crates/web
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/web
parent8c6f97719215815eae63cfb7cdcb5def27756a3a (diff)
chore: upgrade dprint plugins (#10397)
Diffstat (limited to 'op_crates/web')
-rw-r--r--op_crates/web/00_infra.js2
-rw-r--r--op_crates/web/01_mimesniff.js6
-rw-r--r--op_crates/web/08_text_encoding.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/op_crates/web/00_infra.js b/op_crates/web/00_infra.js
index bc87c8217..05f68268f 100644
--- a/op_crates/web/00_infra.js
+++ b/op_crates/web/00_infra.js
@@ -67,7 +67,7 @@
/**
* Turn a string of chars into a regex safe matcher.
- * @param {string[]} chars
+ * @param {string[]} chars
* @returns {string}
*/
function regexMatcher(chars) {
diff --git a/op_crates/web/01_mimesniff.js b/op_crates/web/01_mimesniff.js
index 077a40df1..b42dd1409 100644
--- a/op_crates/web/01_mimesniff.js
+++ b/op_crates/web/01_mimesniff.js
@@ -19,7 +19,7 @@
} = window.__bootstrap.infra;
/**
- * @typedef MimeType
+ * @typedef MimeType
* @property {string} type
* @property {string} subtype
* @property {Map<string,string>} parameters
@@ -160,7 +160,7 @@
}
/**
- * @param {MimeType} mimeType
+ * @param {MimeType} mimeType
* @returns {string}
*/
function essence(mimeType) {
@@ -168,7 +168,7 @@
}
/**
- * @param {MimeType} mimeType
+ * @param {MimeType} mimeType
* @returns {string}
*/
function serializeMimeType(mimeType) {
diff --git a/op_crates/web/08_text_encoding.js b/op_crates/web/08_text_encoding.js
index 980de339c..c84d7c18e 100644
--- a/op_crates/web/08_text_encoding.js
+++ b/op_crates/web/08_text_encoding.js
@@ -4529,7 +4529,7 @@
};
/**
- * @param {Uint8Array} bytes
+ * @param {Uint8Array} bytes
*/
function decode(bytes, encoding) {
const BOMEncoding = BOMSniff(bytes);
@@ -4543,7 +4543,7 @@
}
/**
- * @param {Uint8Array} bytes
+ * @param {Uint8Array} bytes
*/
function BOMSniff(bytes) {
const BOM = bytes.subarray(0, 3);