Skip to content

Commit

Permalink
Fix optional Dictionary arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Nov 28, 2023
1 parent 91d994e commit a2f6041
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,13 @@ interface Observable {
Observable flatMap(Mapper mapper);

// Promise-returning operators.
Promise<sequence<any>> toArray(optional PromiseOptions options);
Promise<undefined> forEach(Visitor callback, optional PromiseOptions options);
Promise<boolean> every(Predicate predicate, optional PromiseOptions options);
// Maybe? Promise<any> first(optional PromiseOptions options);
Promise<any> find(Predicate predicate, optional PromiseOptions options);
Promise<boolean> some(Predicate predicate, optional PromiseOptions options);
Promise<any> reduce(Reducer reducer, optional any initialValue, optional PromiseOptions options);
Promise<sequence<any>> toArray(optional PromiseOptions options = {});
Promise<undefined> forEach(Visitor callback, optional PromiseOptions options = {});
Promise<boolean> every(Predicate predicate, optional PromiseOptions options = {});
// Maybe? Promise<any> first(optional PromiseOptions options = {});
Promise<any> find(Predicate predicate, optional PromiseOptions options = {});
Promise<boolean> some(Predicate predicate, optional PromiseOptions options = {});
Promise<any> reduce(Reducer reducer, optional any initialValue, optional PromiseOptions options = {});
};
</xmp>

Expand Down

0 comments on commit a2f6041

Please sign in to comment.