Skip to content

Commit

Permalink
fix: Type of firebase configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nisole committed Apr 24, 2020
1 parent eefb318 commit b6f700e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class FirebaseDriver implements Driver<any> {

private firestore: Firestore;

public constructor(@Inject(FIREBASE_CONFIGURATION_TOKEN) firebaseConfiguration: {[key: string]: any}) {
public constructor(@Inject(FIREBASE_CONFIGURATION_TOKEN) firebaseConfiguration: any) {
this.firebase = firebase.initializeApp(firebaseConfiguration);
this.firestore = this.firebase.firestore();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const MODULE_PROVIDERS: Provider[] = [
})
export class NgxFirebaseRepositoryModule {

public static forRoot(firebaseConfiguration?: {[key: string]: any}): ModuleWithProviders<NgxFirebaseRepositoryModule> {
public static forRoot(firebaseConfiguration?: any): ModuleWithProviders<NgxFirebaseRepositoryModule> {
return {
ngModule: NgxFirebaseRepositoryModule,
providers: [
Expand Down

0 comments on commit b6f700e

Please sign in to comment.