Skip to content

Commit 34e306e

Browse files
committed
fix types in jsdocs
1 parent 7e056f7 commit 34e306e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/array.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { deepStrictEqual } from './object.js'
1010
* This function checks the size of the first entry, it does not validate
1111
* whether all dimensions match. (use function `validate` for that)
1212
* @param {Array} x
13-
* @return {Number[]} size
13+
* @return {number[]} size
1414
*/
1515
export function arraySize (x) {
1616
const s = []
@@ -834,7 +834,7 @@ export function broadcastArrays (...arrays) {
834834
/**
835835
* Stretches a matrix up to a certain size in a certain dimension
836836
* @param {Array} arrayToStretch
837-
* @param {number} sizeToStretch
837+
* @param {number[]} sizeToStretch
838838
* @param {number} dimToStretch
839839
* @returns {Array} The stretched array
840840
*/

0 commit comments

Comments
 (0)