Skip to content

Commit

Permalink
More precies type modeling for AsyncGeneratorRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnaldo committed Sep 22, 2024
1 parent 219601e commit d485112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/manuals/types
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ type PromiseCapabilityRecord {

// https://tc39.es/ecma262/#sec-asyncgeneratorrequest-records
type AsyncGeneratorRequest {
Completion: Record[CompletionRecord];
Completion: Normal[ESValue] | Abrupt { Value: ESValue };
Capability: Record[PromiseCapabilityRecord];
}

Expand Down

0 comments on commit d485112

Please sign in to comment.