Skip to content

Commit

Permalink
fix: allow better type inference for "take"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dierk Koenig committed Sep 7, 2023
1 parent c7cd616 commit f18ec64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/src/kolibri/sequence/operators/take/take.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ export { take }
* @function
* @pure
* @haskell Int -> [a] -> [a]
* @param { Number } count - number of elements to take
* @returns { SequenceOperation<_T_> }
* @type {
* (count: Number)
* => SequenceOperation<_T_>
* }
*
* @example
* const numbers = [0,1,2,3];
Expand Down

0 comments on commit f18ec64

Please sign in to comment.