Skip to content

Commit 80bd7cf

Browse files
committed
update typescript Collection interface
1 parent e7feb39 commit 80bd7cf

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

build/multiplex.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,21 @@ declare module mx {
440440
copyTo(array: T[], arrayIndex: number): void
441441
}
442442

443+
var Collection: {
444+
445+
/**
446+
* Initializes a new instance of the Collection class that is empty.
447+
*/
448+
new <T>(): Collection<T>
449+
450+
451+
/**
452+
* Initializes a new instance of the Collection class that is wrapper around the specified Enumerable.
453+
* @param value The Enumerable to wrap.
454+
*/
455+
new <T>(value: Enumerable<T>): Collection<T>
456+
}
457+
443458

444459

445460

src/typescript/multiplex.d.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,21 @@ declare module mx {
440440
copyTo(array: T[], arrayIndex: number): void
441441
}
442442

443+
var Collection: {
444+
445+
/**
446+
* Initializes a new instance of the Collection class that is empty.
447+
*/
448+
new <T>(): Collection<T>
449+
450+
451+
/**
452+
* Initializes a new instance of the Collection class that is wrapper around the specified Enumerable.
453+
* @param value The Enumerable to wrap.
454+
*/
455+
new <T>(value: Enumerable<T>): Collection<T>
456+
}
457+
443458

444459

445460

0 commit comments

Comments
 (0)