Skip to content

Commit

Permalink
Fix Array type
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Dec 11, 2019
1 parent 9d513dc commit 4e7a44f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/is-shallow-equal/arrays.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* Returns true if the two arrays are shallow equal, or false otherwise.
*
* @param {Array} a First array to compare.
* @param {Array} b Second array to compare.
* @param {any[]} a First array to compare.
* @param {any[]} b Second array to compare.
*
* @return {boolean} Whether the two arrays are shallow equal.
*/
Expand Down
4 changes: 2 additions & 2 deletions packages/is-shallow-equal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ var isArray = Array.isArray;
* Returns true if the two arrays or objects are shallow equal, or false
* otherwise.
*
* @param {(Array|Object)} a First object or array to compare.
* @param {(Array|Object)} b Second object or array to compare.
* @param {any[]|Object} a First object or array to compare.
* @param {any[]|Object} b Second object or array to compare.
*
* @return {boolean} Whether the two values are shallow equal.
*/
Expand Down

0 comments on commit 4e7a44f

Please sign in to comment.