Skip to content

Commit 6d4c32c

Browse files
committed
Add return type to Enumerator constructor
1 parent c20c82c commit 6d4c32c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/scripthost.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ interface Enumerator<T = any> {
239239

240240
interface EnumeratorConstructor {
241241
new <T = any>(safearray: SafeArray<T>): Enumerator<T>;
242-
new <T = any>(collection: { Item(index: any): T });
242+
new <T = any>(collection: { Item(index: any): T }): Enumerator<T>;
243243
new <T = any>(collection: any): Enumerator<T>;
244244
}
245245

0 commit comments

Comments
 (0)