Sebastian Owodzin
12/15/2020, 12:49 AMimport * as firebase from 'firebase/app';
& I could do the following:
@JsModule("firebase/app")
external object firebase {
...
}
But now in their docs it’s import firebase from 'firebase/app';
and I’m getting TypeError: $module$firebase_app.initializeApp is not a function
Anyone have an idea how to properly import this?Sebastian Owodzin
12/15/2020, 1:02 AM@file:JsModule("firebase/app")
package ...
import ...
@JsName("default")
external object firebase {
...
}
turansky
12/16/2020, 2:34 PMfirebase
object is redundant if firebase/app
contains many declarations (classes/methods)