Skip to content

Commit 090568e

Browse files
committed
fix(module): Make appName optional in initializeApp
1 parent 73a3e26 commit 090568e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angularfire2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class AngularFire {
4949
public database: AngularFireDatabase) {}
5050
}
5151

52-
export function _getFirebase(config: FirebaseAppConfig, appName: string): firebase.app.App {
52+
export function _getFirebase(config: FirebaseAppConfig, appName?: string): firebase.app.App {
5353
try {
5454
return firebase.initializeApp(config, appName);
5555
}

0 commit comments

Comments
 (0)