Skip to content

Commit db4d366

Browse files
committed
updated TypeScript definition file
1 parent f355a6d commit db4d366

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log (node-enumerable)
22

3-
## 3.4.0 (November 4th, 2017; methods)
3+
## 3.4.1 (November 4th, 2017; methods)
44

55
* added `abs()` method
66
* added `ceil()` method

index.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,19 @@ declare namespace Enumerable {
521521
/**
522522
* Returns all elements of the collection separated by the given separator(s).
523523
*
524-
* @param {U[]} {separators} One or more separator.
524+
* @param {U[]} [separators] One or more separator.
525525
*
526526
* @return {IEnumerable<T|U>} The new sequence.
527527
*/
528528
intersperse<U = T>(...separators: U[]): IEnumerable<T | U>;
529+
/**
530+
* Returns all elements of the collection separated by the given separator(s).
531+
*
532+
* @param {Sequence<U>} separators The separators.
533+
*
534+
* @return {IEnumerable<T|U>} The new sequence.
535+
*/
536+
intersperseArray<U = T>(separators: Sequence<U>): IEnumerable<T | U>;
529537
/**
530538
* Returns the intersection between this and a second sequence.
531539
*
@@ -1069,6 +1077,8 @@ declare namespace Enumerable {
10691077
*/
10701078
protected intersperseInner<U>(separators: U[]): Iterator<T | U>;
10711079
/** @inheritdoc */
1080+
intersperseArray<U = T>(separators: Sequence<U>): IEnumerable<T | U>;
1081+
/** @inheritdoc */
10721082
intersect(second: Sequence<T>, comparer?: EqualityComparer<T> | true): IEnumerable<T>;
10731083
/**
10741084
* @see intersect()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-enumerable",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "ES6 ready LINQ features written in TypeScript",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)