diff --git a/spec.bs b/spec.bs index d5b75cc..b2a03dc 100644 --- a/spec.bs +++ b/spec.bs @@ -208,13 +208,13 @@ interface Observable { Observable flatMap(Mapper mapper); // Promise-returning operators. - Promise> toArray(optional PromiseOptions options); - Promise forEach(Visitor callback, optional PromiseOptions options); - Promise every(Predicate predicate, optional PromiseOptions options); - // Maybe? Promise first(optional PromiseOptions options); - Promise find(Predicate predicate, optional PromiseOptions options); - Promise some(Predicate predicate, optional PromiseOptions options); - Promise reduce(Reducer reducer, optional any initialValue, optional PromiseOptions options); + Promise> toArray(optional PromiseOptions options = {}); + Promise forEach(Visitor callback, optional PromiseOptions options = {}); + Promise every(Predicate predicate, optional PromiseOptions options = {}); + // Maybe? Promise first(optional PromiseOptions options = {}); + Promise find(Predicate predicate, optional PromiseOptions options = {}); + Promise some(Predicate predicate, optional PromiseOptions options = {}); + Promise reduce(Reducer reducer, optional any initialValue, optional PromiseOptions options = {}); };