Answers for "any property 'messaging' does not exist on type 'angularfiremessaging'."

0

Property 'messaging' does not exist on type 'AngularFireMessaging'

constructor(private angularFireMessaging: AngularFireMessaging) {
this.angularFireMessaging.messages.subscribe(
(_messaging: AngularFireMessaging) => {
_messaging.onMessage = _messaging.onMessage.bind(_messaging);
_messaging.onTokenRefresh = _messaging.onTokenRefresh.bind(_messaging);
}
Posted by: Guest on September-08-2021

Code answers related to "any property 'messaging' does not exist on type 'angularfiremessaging'."

Code answers related to "TypeScript"

Browse Popular Code Answers by Language