Fix Iterator type in es6.d.ts

This commit is contained in:
Jason Freeman
2015-04-22 13:23:52 -07:00
parent 5edb5cdfc7
commit 4dc9da255f
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -442,8 +442,8 @@ interface IteratorResult<T> {
}
interface Iterator<T> {
next(): IteratorResult<T>;
return?(value?: any): IteratorResult<T>;
next(value?: any): IteratorResult<T>;
return?(value?: T): IteratorResult<T>;
throw?(e?: any): IteratorResult<T>;
}