diff --git a/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts b/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts index 247702f94..4a899aa98 100644 --- a/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts +++ b/src/@awesome-cordova-plugins/plugins/sms-retriever/index.ts @@ -41,7 +41,7 @@ export class SmsRetriever extends AwesomeCordovaNativePlugin { * @returns {Promise} Returns a promise that resolves when retrives SMS text or TIMEOUT after 5 min. */ @Cordova() - startWatching(): Promise { + startWatching(): Promise<{ Message: string }> { return; }