Skip to content

Commit

Permalink
[js] Add to IteratorStructure<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
haxiomic committed Sep 3, 2019
1 parent 0cfdfb1 commit 7a27eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/js/lib/Iterator.hx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ package js.lib;
abstract over JavaScript iterator objects that enables supports haxe for-in iteration
**/
@:forward
abstract Iterator<T>(IteratorStructure<T>) from IteratorStructure<T> {
abstract Iterator<T>(IteratorStructure<T>) from IteratorStructure<T> to IteratorStructure<T> {

public inline function iterator(): JSIterator<T> {
return new JSIterator<T>(this);
Expand Down

0 comments on commit 7a27eed

Please sign in to comment.