Skip to content

Commit

Permalink
chore: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidmt committed Jan 21, 2021
1 parent 077ae60 commit ddd39f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/cases/cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { i } from "../i/i"
* @tag Core
* @see {@link when}
*
* @param {Array<Function, Function>} conditions List of 2-tuples of functions (if, then)
* @param {Function} [otherwise=i] Function to call if no condition matches, Defaults to identity.
* @param {any} source Value to check
* @param {Array<Function, Function>} conditions List of 2-tuples of functions (if, then)
* @param {Function} [otherwise=i] Function to call if no condition matches, Defaults to identity.
* @param {any} source Value to check
*
* @returns {any}
* The result of calling the first matching then function or the
Expand Down
6 changes: 3 additions & 3 deletions src/count/count.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const _countBy = (_fn, _source) => {
/**
* Count the number of elements that satisfies a function
*
* @param {Function|Function[]} fn Match function
* @param {Array | object} source Source array, if object passed, Object.entries will be iterated over
* @param {Function|Function[]} fn Match function
* @param {Array | object} source Source array, if object passed, Object.entries will be iterated over
*
* @returns {number}
*
Expand Down Expand Up @@ -56,7 +56,7 @@ export const countBy = curry(_countBy)
/**
* Count elements in array or object that match object
*
* @param {object} subset Match object
* @param {object} subset Match object
* @param {Array | object} source Source array, if object passed, Object.entries will be iterated over
*
* @returns {number}
Expand Down
6 changes: 3 additions & 3 deletions src/read/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ const _readMany = (path, defaultValue, source) =>
* Get value from obj property
*
* @param {string | string[]} path Property name or dot path of props
* @param {Any} defaultValue Value to return if not found
* @param {object} source Source object
* @param {...any} params Function params
* @param {Any} defaultValue Value to return if not found
* @param {object} source Source object
* @param {...any} params Function params
*
* @returns {Any}
*
Expand Down

0 comments on commit ddd39f1

Please sign in to comment.