Skip to content

Commit

Permalink
fix(messaging): onNotificationOpenedApp callable return type (inverta…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyran authored May 12, 2020
1 parent 087524f commit 7026c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ export namespace FirebaseMessagingTypes {
*
* @param listener Called with a `RemoteMessage` when a notification press opens the application.
*/
onNotificationOpenedApp(listener: (message: RemoteMessage) => any): void;
onNotificationOpenedApp(listener: (message: RemoteMessage) => any): () => void;

/**
* Called when a new registration token is generated for the device. For example, this event can happen when a
Expand Down

0 comments on commit 7026c73

Please sign in to comment.