Skip to content

Commit 62bed34

Browse files
committed
Update README.md
1 parent 1efa85e commit 62bed34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ For `"Infinity"`:
745745

746746
* `negative`: Boolean indicating whether this is negative Infinity or not.
747747

748-
### `iterable<>`, `async iterable<>`, `maplike<>`, and `setlike<>` declarations
748+
### `iterable<>`, `async_iterable<>`, `maplike<>`, and `setlike<>` declarations
749749

750750
These appear as members of interfaces that look like this:
751751

@@ -755,7 +755,7 @@ These appear as members of interfaces that look like this:
755755
"idlType": /* One or two types */ ,
756756
"readonly": false, // only for maplike and setlike
757757
"async": false, // iterable can be async
758-
"arguments": [], // only for async iterable
758+
"arguments": [], // only for async_iterable
759759
"extAttrs": [],
760760
"parent": { ... }
761761
}
@@ -766,8 +766,8 @@ The fields are as follows:
766766
* `type`: Always one of "iterable", "maplike" or "setlike".
767767
* `idlType`: An array with one or more [IDL Types](#idl-type) representing the declared type arguments.
768768
* `readonly`: `true` if the maplike or setlike is declared as read only.
769-
* `async`: `true` if the type is async iterable.
770-
* `arguments`: An array of arguments if exists, empty otherwise. Currently only `async iterable` supports the syntax.
769+
* `async`: `true` if the type is `async iterable`. Note that it's false for the new `async_iterable`.
770+
* `arguments`: An array of arguments if exists, empty otherwise. Currently only `async_iterable` supports the syntax.
771771
* `extAttrs`: An array of [extended attributes](#extended-attributes).
772772
* `parent`: The container of this type as an Object.
773773

0 commit comments

Comments
 (0)