Updated to the latest Firebase version with my Ionic 3 project and now I get the error below!
By simply importing the package
import { firebase } from 'firebase';
[ts] Module ''firebase'' has no exported member 'firebase'.
Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight.
I don't believe the firebase NPM package has ever supported a named firebase export. Instead you should use either:
import firebase from 'firebase';
Or:
import * as firebase from 'firebase';
Most helpful comment
I don't believe the firebase NPM package has ever supported a named
firebaseexport. Instead you should use either:Or: