The implementation of both openInbox and openComposer are async, which means the function returns a promise (not void). This PR corrects the typescript definitions of these functions, so Typescript projects that consume this library can call await openInbox({ ... }) without getting warned by the transpiler or linter.
The implementation of both
openInbox
andopenComposer
areasync
, which means the function returns a promise (notvoid
). This PR corrects the typescript definitions of these functions, so Typescript projects that consume this library can callawait openInbox({ ... })
without getting warned by the transpiler or linter.