Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Make Element.attributes iterable #47

Merged
merged 2 commits into from
Jul 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ interface Element {
/**
* Read-Only - key/value pairs of attributes.
*/
readonly attributes: Iterator<{ name: string; value: string }>;
readonly attributes: IterableIterator<{ name: string; value: string }>;
/**
* Indicates whether the element was removed/replaced in a previous handler
*/
Expand Down