aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEvgenii Kliuchnikov <eustas@google.com>2023-07-05 06:35:14 +0000
committerEvgenii Kliuchnikov <eustas.ru@gmail.com>2023-07-05 19:15:24 +0000
commit28257b2e678c0a82ffc888729511471b4d85825c (patch)
tree7a508b7228950d402a9b74b8ad0684e547857890 /js
parentbc32ae12d575520fcf7b0a82f0e660b7e2705043 (diff)
downloadbrotli-28257b2e678c0a82ffc888729511471b4d85825c.zip
brotli-28257b2e678c0a82ffc888729511471b4d85825c.tar.gz
brotli-28257b2e678c0a82ffc888729511471b4d85825c.tar.bz2
refine types in decode.js
PiperOrigin-RevId: 545575363
Diffstat (limited to 'js')
-rw-r--r--js/decode.js2
-rw-r--r--js/package.json4
2 files changed, 3 insertions, 3 deletions
diff --git a/js/decode.js b/js/decode.js
index 5e44505..d26adcf 100644
--- a/js/decode.js
+++ b/js/decode.js
@@ -2024,7 +2024,7 @@ let makeBrotliDecode = () => {
this.cdBrLength = 0;
/** @type {number} */
this.cdBrCopied = 0;
- /** @type {!Array} */
+ /** @type {!Array<?Int8Array>} */
this.cdChunks = new Array(0);
/** @type {!Int32Array} */
this.cdChunkOffsets = new Int32Array(0);
diff --git a/js/package.json b/js/package.json
index a1a1715..33ff6f4 100644
--- a/js/package.json
+++ b/js/package.json
@@ -6,9 +6,9 @@
},
"files": [
"cli.js",
- "decode.js",
+ "decode.js"
],
"dependencies": {
"yargs": "~8.0.2"
- },
+ }
}