Skip to content

Commit

Permalink
Add more type modeling
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnaldo committed Oct 31, 2024
1 parent 3300d9a commit 81dd208
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/main/resources/manuals/types
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,12 @@ type ModuleRecord {
HostDefined: Undefined;
}

// https://tc39.es/ecma262/#resolvedbinding-record
type ResolvedBindingRecord {
Module: Record[ModuleRecord];
BindingName: String | Enum[~namespace~];
}

// https://tc39.es/ecma262/#sec-cyclic-module-records
type CyclicModuleRecord extends ModuleRecord {
def LoadRequestedModules;
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: 356
- unknown: 625
- tables: 94
- type model: 93
- type model: 94

0 comments on commit 81dd208

Please sign in to comment.