diff options
author | Wycheproof Team <noreply@google.com> | 2024-01-30 22:31:44 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-01-30 22:32:14 -0800 |
commit | 3ea6fe11370fd0dd6ba5a68129ce82045b0e81ec (patch) | |
tree | d001b17b3d662d0aba20802ca1b6b817275d69ea /javascript/BigInteger.js | |
parent | d9f6ec7d8bd8c96da05368999094e4a75ba5cb3d (diff) | |
download | wycheproof-3ea6fe11370fd0dd6ba5a68129ce82045b0e81ec.tar.gz |
Correct type annotations to improve type checking.
PiperOrigin-RevId: 602941791
Diffstat (limited to 'javascript/BigInteger.js')
-rw-r--r-- | javascript/BigInteger.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/javascript/BigInteger.js b/javascript/BigInteger.js index 906641a..f495fd3 100644 --- a/javascript/BigInteger.js +++ b/javascript/BigInteger.js @@ -30,9 +30,10 @@ goog.require('wycheproof.TestUtil'); var TestUtil = wycheproof.TestUtil; + /** * Non-negative arbitrary-precision integers. - * @param {(!Array<Byte>|!Uint8Array)=} optValue + * @param {(!Array<number>|!Uint8Array)=} optValue * The value of the BigInteger in big endian. * @constructor * @extends {e2e.BigNum} @@ -100,7 +101,7 @@ wycheproof.BigInteger.prototype.toArrayBuffer = function(optValue) { /** * Odd prime big integer that could be use as the modulus in modular arithmetic * operations in crypto schemes such as ECDSA or ECDH. - * @param {!Array<Byte>|!Uint8Array} modulus The modulus to use. + * @param {!Array<number>|!Uint8Array} modulus The modulus to use. * @constructor * @extends {e2e.BigPrimeNum} */ |