Skip to content

Commit

Permalink
fix(sms-retriever): update startWatching result type (#4309)
Browse files Browse the repository at this point in the history
* Updating the types to match what we get

* Update index.ts
  • Loading branch information
bsalesc authored Oct 9, 2022
1 parent bf860c3 commit 178489f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class SmsRetriever extends AwesomeCordovaNativePlugin {
* @returns {Promise<string>} Returns a promise that resolves when retrives SMS text or TIMEOUT after 5 min.
*/
@Cordova()
startWatching(): Promise<string> {
startWatching(): Promise<{ Message: string }> {
return;
}

Expand Down

0 comments on commit 178489f

Please sign in to comment.