Skip to content

Commit

Permalink
Add type modeling for Iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnaldo committed Sep 19, 2024
1 parent 8028654 commit 48c9c0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/resources/manuals/types
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,9 @@ type ForInIterator extends OrdinaryObject {
RemainingKeys: List[String];
}

// https://tc39.es/ecma262/#sec-iterator-interface
type Iterator extends Object

// -----------------------------------------------------------------------------
// Scripts and Modules
// -----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/result/spec-summary
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
- yet: 362
- unknown: 625
- tables: 94
- type model: 89
- type model: 90

0 comments on commit 48c9c0f

Please sign in to comment.