From 0527afe93578810b4084e0da330574f956b0a7b5 Mon Sep 17 00:00:00 2001 From: Olga Koroleva Date: Tue, 11 Jul 2023 19:25:14 +0200 Subject: [PATCH] fix(mobile-messaging): correct return type of submitEvent (#4564) --- src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts b/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts index 15407c9c4..c74875041 100644 --- a/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts +++ b/src/@awesome-cordova-plugins/plugins/mobile-messaging/index.ts @@ -407,7 +407,7 @@ export class MobileMessaging extends AwesomeCordovaNativePlugin { @Cordova({ observable: true, }) - submitEventImmediately(event: CustomEvent): Promise { + submitEventImmediately(event: CustomEvent): Observable { return; }