File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ class RuffleMimeTypeArray implements MimeTypeArray {
6969
7070 [ name : string ] : unknown ;
7171
72- [ Symbol . iterator ] ( ) : IterableIterator < MimeType > {
73- return this . #mimeTypes[ Symbol . iterator ] ( ) ;
72+ [ Symbol . iterator ] ( ) : ArrayIterator < MimeType > {
73+ return this . #mimeTypes[ Symbol . iterator ] ( ) as ArrayIterator < MimeType > ;
7474 }
7575
7676 get [ Symbol . toStringTag ] ( ) : string {
@@ -203,8 +203,8 @@ class RufflePluginArray implements PluginArray {
203203
204204 [ name : string ] : unknown ;
205205
206- [ Symbol . iterator ] ( ) : IterableIterator < Plugin > {
207- return this . #plugins[ Symbol . iterator ] ( ) ;
206+ [ Symbol . iterator ] ( ) : ArrayIterator < Plugin > {
207+ return this . #plugins[ Symbol . iterator ] ( ) as ArrayIterator < Plugin > ;
208208 }
209209
210210 get [ Symbol . toStringTag ] ( ) : string {
You can’t perform that action at this time.
0 commit comments