multiplexjs: Fix error in typescript@next (#17055)

This commit is contained in:
Andy
2017-06-08 15:10:18 -07:00
committed by Mohamed Hegazy
parent 96d2d239f8
commit b3dc832da4
+2 -10
View File
@@ -448,9 +448,9 @@ declare namespace multiplex {
/**
* Performs the specified action on each element of the List.
* @param action The action function to perform on each element of the List.
* @param action The action function to perform on each element of an List; the second parameter of the function represents the index of the source element.
*/
forEach(action: (item: T) => void): void
forEach(action: (item: T, index: number) => void): void
/**
@@ -1741,14 +1741,6 @@ declare namespace multiplex {
*/
firstOrDefault(predicate: (item: T) => boolean, defaultValue: T): T
/**
* Performs the specified action on each element of an Enumerable.
* @param action The action function to perform on each element of an Enumerable.
*/
forEach(action: (item: T) => void): void
/**
* Performs the specified action on each element of an Enumerable.
* @param action The action function to perform on each element of an Enumerable; the second parameter of the function represents the index of the source element.