We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5e5160 commit 2c0a57fCopy full SHA for 2c0a57f
src/auth/firebase_sdk_auth_backend.ts
@@ -27,7 +27,14 @@ import { observeOn } from 'rxjs/operator/observeOn';
27
@Injectable()
28
export class FirebaseSdkAuthBackend extends AuthBackend {
29
_fbAuth: firebase.auth.Auth;
30
- constructor( @Inject(FirebaseApp) _fbApp: firebase.app.App,
+ /**
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,
38
private _webWorkerMode = false) {
39
super();
40
this._fbAuth = _fbApp.auth();
0 commit comments