property 27messaging 27 does not exist on type 27angularfiremessaging 27

Solutions on MaxInterview for property 27messaging 27 does not exist on type 27angularfiremessaging 27 by the best coders in the world

showing results for - "property 27messaging 27 does not exist on type 27angularfiremessaging 27"
Sixtine
08 Jan 2019
1constructor(private angularFireMessaging: AngularFireMessaging) {
2this.angularFireMessaging.messages.subscribe(
3(_messaging: AngularFireMessaging) => {
4_messaging.onMessage = _messaging.onMessage.bind(_messaging);
5_messaging.onTokenRefresh = _messaging.onTokenRefresh.bind(_messaging);
6}