summaryrefslogtreecommitdiff
path: root/op_crates/web
diff options
context:
space:
mode:
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);