In the angularfire v.> 6 changelog is specified that:
@angular/fire/messaging AngularFireMessaging has dropped the messaging property and i
@angular/fire/messaging
AngularFireMessaging has dropped the messaging property and i