Skip to content

Commit 73f216f

Browse files
committed
make typescript 'sum' method generic
1 parent feab98b commit 73f216f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/multiplex.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ declare module mx {
23912391
* Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
23922392
* @param selector A transform function to apply to each element.
23932393
*/
2394-
sum(selector: (item: number) => number): number
2394+
sum(selector: (item: T) => number): number
23952395

23962396

23972397
/**

src/typescript/multiplex.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ declare module mx {
23912391
* Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
23922392
* @param selector A transform function to apply to each element.
23932393
*/
2394-
sum(selector: (item: number) => number): number
2394+
sum(selector: (item: T) => number): number
23952395

23962396

23972397
/**

0 commit comments

Comments
 (0)