Skip to content

Commit

Permalink
fix: typedef exports
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Feb 4, 2021
1 parent 91b7db3 commit c24790e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 13 deletions.
1 change: 0 additions & 1 deletion compare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*
* @param {Uint8Array} a
* @param {Uint8Array} b
* @returns {number}
*/
function compare (a, b) {
for (let i = 0; i < a.byteLength; i++) {
Expand Down
1 change: 0 additions & 1 deletion concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*
* @param {Array<ArrayLike<number>>} arrays
* @param {number} [length]
* @returns {Uint8Array}
*/
function concat (arrays, length) {
if (!length) {
Expand Down
1 change: 0 additions & 1 deletion equals.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*
* @param {Uint8Array} a
* @param {Uint8Array} b
* @returns {boolean}
*/
function equals (a, b) {
if (a === b) {
Expand Down
1 change: 0 additions & 1 deletion from-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const utf8Encoder = new TextEncoder()
* returns a Uint8Array of those bytes.
*
* @param {string} string - The string to turn into an array
* @returns {Uint8Array}
*/
function asciiStringToUint8Array (string) {
const array = new Uint8Array(string.length)
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion to-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const utf8Decoder = new TextDecoder('utf8')
* character being the char code of the corresponding byte
*
* @param {Uint8Array} array - The array to turn into a string
* @returns {string}
*/
function uint8ArrayToAsciiString (array) {
let string = ''
Expand Down
1 change: 0 additions & 1 deletion xor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*
* @param {Uint8Array} a
* @param {Uint8Array} b
* @returns {Uint8Array}
*/
function xor (a, b) {
if (a.length !== b.length) {
Expand Down

0 comments on commit c24790e

Please sign in to comment.