I have started a new blank ionic app and have tried to integrate Firebase for push notifications but am getting an error when trying to set Firebase as a provider.
I have installed Firebase according to the docs, i.e:
ionic cordova plugin add cordova-plugin-firebase npm install --save @ionic-native/firebase
and my app.module.ts is
but I get an error
[ts] Type 'FirebaseOriginal' is not assignable to type 'Provider'. Type 'FirebaseOriginal' is missing the following properties from type 'FactoryProvider': provide, useFactory  (alias) const Firebase: FirebaseOriginal import Firebase
I have tried ionic 3 and 4 and the same error occurs.
Help much appreciated.