Skip to content

Commit 29c4005

Browse files
committed
Update type annotations
1 parent 2cdf59f commit 29c4005

File tree

5 files changed

+5
-5
lines changed
  • lib/node_modules/@stdlib
    • array/constants/max-typed-array-length/lib
    • ndarray/base/numel/lib
    • number
      • uint16/base/from-binary-string/lib
      • uint32/base/from-binary-string/lib
      • uint8/base/from-binary-string/lib

5 files changed

+5
-5
lines changed

lib/node_modules/@stdlib/array/constants/max-typed-array-length/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* ```
2121
*
2222
* @constant
23-
* @type {uinteger}
23+
* @type {uinteger32}
2424
* @default 9007199254740991
2525
*/
2626
var MAX_TYPED_ARRAY_LENGTH = 9007199254740991;

lib/node_modules/@stdlib/ndarray/base/numel/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Returns the number of elements in an array.
77
*
88
* @param {(NonNegativeIntegerArray|EmptyArray)} shape - array shape
9-
* @returns {uinteger} number of elements
9+
* @returns {NonNegativeInteger} number of elements
1010
*
1111
* @example
1212
* var n = numel( [ 3, 3, 3 ] );

lib/node_modules/@stdlib/number/uint16/base/from-binary-string/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var NBITS = 16;
1717
*
1818
* @param {BinaryString} bstr - string which is a literal bit representation
1919
* @throws {Error} must provide a string with a length equal to `16`
20-
* @returns {uinteger} unsigned 16-bit integer
20+
* @returns {uinteger16} unsigned 16-bit integer
2121
*
2222
* @example
2323
* var bstr = '0101010101010101';

lib/node_modules/@stdlib/number/uint32/base/from-binary-string/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var NBITS = 32;
1818
*
1919
* @param {BinaryString} bstr - string which is a literal bit representation
2020
* @throws {Error} must provide a string with a length equal to `32`
21-
* @returns {uinteger} unsigned 32-bit integer
21+
* @returns {uinteger32} unsigned 32-bit integer
2222
*
2323
* @example
2424
* var bstr = '01010101010101010101010101010101';

lib/node_modules/@stdlib/number/uint8/base/from-binary-string/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var NBITS = 8;
1717
*
1818
* @param {BinaryString} bstr - string which is a literal bit representation
1919
* @throws {Error} must provide a string with a length equal to `8`
20-
* @returns {uinteger} unsigned 8-bit integer
20+
* @returns {uinteger8} unsigned 8-bit integer
2121
*
2222
* @example
2323
* var bstr = '01010101';

0 commit comments

Comments
 (0)