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';
27
27
@Injectable ( )
28
28
export class FirebaseSdkAuthBackend extends AuthBackend {
29
29
_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 ,
31
38
private _webWorkerMode = false ) {
32
39
super ( ) ;
33
40
this . _fbAuth = _fbApp . auth ( ) ;
You can’t perform that action at this time.
0 commit comments