fix(sms-retriever): update startWatching result type (#4309)

* Updating the types to match what we get

* Update index.ts
This commit is contained in:
Bruno Sales Cardoso
2022-10-09 15:45:08 +01:00
committed by GitHub
parent bf860c30c2
commit 178489ffaa
@@ -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;
}