Property ‘messaging’ does not exist on type ‘AngularFireMessaging’

The solution for “Property ‘messaging’ does not exist on type ‘AngularFireMessaging'” can be found here. The following code will assist you in solving the problem.

constructor(private angularFireMessaging: AngularFireMessaging) {
(_messaging: AngularFireMessaging) => {
_messaging.onMessage = _messaging.onMessage.bind(_messaging);
_messaging.onTokenRefresh = _messaging.onTokenRefresh.bind(_messaging);

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

inline scripts encapsulated in