Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
configure callback is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed Mar 7, 2020
1 parent 36bb99c commit 9c7594a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deltachat.ts
Expand Up @@ -103,7 +103,7 @@ export class DeltaChat extends EventEmitter {
binding.dcn_close(this.dcn_context, cb)
}

configure (opts, cb: () => void) {
configure (opts, cb?: () => void) {
debug('configure')
if (!opts) opts = {}
const ready = () => {
Expand Down

0 comments on commit 9c7594a

Please sign in to comment.