File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,14 @@ import { observeOn } from 'rxjs/operator/observeOn';
2727@Injectable ( )
2828export class FirebaseSdkAuthBackend extends AuthBackend {
2929 _fbAuth : firebase . auth . Auth ;
30- constructor ( @Inject ( FirebaseApp ) _fbApp : firebase . app . App ,
30+ /**
31+ * TODO(jeffbcross): change _fbApp type back to firebase.app.App
32+ * An issue with AoT compiler does not allow interface types on
33+ * constructor parameters, even when used in conjunction with @Inject.
34+ * https://github.com/angular/angular/issues/12631
35+ * https://github.com/angular/angularfire2/issues/653
36+ **/
37+ constructor ( @Inject ( FirebaseApp ) _fbApp : any ,
3138 private _webWorkerMode = false ) {
3239 super ( ) ;
3340 this . _fbAuth = _fbApp . auth ( ) ;
You can’t perform that action at this time.
0 commit comments