Im using the cordova-firebase-plugin in my ionic2 project Im using it for firebase analytics.
In my typeScript file when i try to call the function
window.FirebasePlugin.logEvent("page_view", {page: "Event List"});
I get the error
Property FirebasePlugin does not exist on type 'Window'
I guess that i have to import it. Ive already added it to my project by running the command
cordova plugin add [email protected] --save
And i cant find any reference to how to add this. Any help and I would be grateful