Skip to content

Commit

Permalink
Optional callback in constructtion
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Oct 19, 2018
1 parent 6857639 commit f1035fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/promise/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export default class ApiPromise extends ApiBase<Rpc, QueryableStorage, Submittab
* api.query.sywstem.accountNonce(<address>, combinator.next());
* ```
*/
combinator (callback: CombinatorCallback): Combinator {
combinator (callback?: CombinatorCallback): Combinator {
return new Combinator(callback);
}

Expand Down

0 comments on commit f1035fe

Please sign in to comment.