-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support implicit iterable interfaces
- Loading branch information
Showing
4 changed files
with
158 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
|
||
///////////////////////////// | ||
/// MSEdge DOM ES6 APIs | ||
///////////////////////////// | ||
|
||
interface AudioTrackList { | ||
[Symbol.iterator](): IterableIterator<AudioTrack> | ||
} | ||
|
||
interface CSSRuleList { | ||
[Symbol.iterator](): IterableIterator<CSSRule> | ||
} | ||
|
||
interface CSSStyleDeclaration { | ||
[Symbol.iterator](): IterableIterator<DOMString> | ||
} | ||
|
||
interface ClientRectList { | ||
[Symbol.iterator](): IterableIterator<ClientRect> | ||
} | ||
|
||
interface DOMStringList { | ||
[Symbol.iterator](): IterableIterator<DOMString> | ||
} | ||
|
||
interface DOMTokenList { | ||
[Symbol.iterator](): IterableIterator<DOMString> | ||
} | ||
|
||
interface DataTransferItemList { | ||
[Symbol.iterator](): IterableIterator<File> | ||
} | ||
|
||
interface FileList { | ||
[Symbol.iterator](): IterableIterator<File> | ||
} | ||
|
||
interface HTMLAllCollection { | ||
[Symbol.iterator](): IterableIterator<Element> | ||
} | ||
|
||
interface HTMLCollection { | ||
[Symbol.iterator](): IterableIterator<Element> | ||
} | ||
|
||
interface MSRangeCollection { | ||
[Symbol.iterator](): IterableIterator<Range> | ||
} | ||
|
||
interface MediaList { | ||
[Symbol.iterator](): IterableIterator<DOMString> | ||
} | ||
|
||
interface MimeTypeArray { | ||
[Symbol.iterator](): IterableIterator<Plugin> | ||
} | ||
|
||
interface NamedNodeMap { | ||
[Symbol.iterator](): IterableIterator<Attr> | ||
} | ||
|
||
interface NodeList { | ||
[Symbol.iterator](): IterableIterator<Node> | ||
} | ||
|
||
interface Plugin { | ||
[Symbol.iterator](): IterableIterator<MimeType> | ||
} | ||
|
||
interface PluginArray { | ||
[Symbol.iterator](): IterableIterator<Plugin> | ||
} | ||
|
||
interface SourceBufferList { | ||
[Symbol.iterator](): IterableIterator<SourceBuffer> | ||
} | ||
|
||
interface Storage { | ||
[Symbol.iterator](): IterableIterator<DOMString> | ||
} | ||
|
||
interface StyleSheetList { | ||
[Symbol.iterator](): IterableIterator<StyleSheet> | ||
} | ||
|
||
interface StyleSheetPageList { | ||
[Symbol.iterator](): IterableIterator<CSSPageRule> | ||
} | ||
|
||
interface TextTrackCueList { | ||
[Symbol.iterator](): IterableIterator<TextTrackCue> | ||
} | ||
|
||
interface TextTrackList { | ||
[Symbol.iterator](): IterableIterator<TextTrack> | ||
} | ||
|
||
interface TouchList { | ||
[Symbol.iterator](): IterableIterator<Touch> | ||
} | ||
|
||
interface VideoTrackList { | ||
[Symbol.iterator](): IterableIterator<VideoTrack> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters