mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
fix(sms-retriever): update startWatching result type (#4309)
* Updating the types to match what we get * Update index.ts
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user