File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ export class FirebaseAppImpl implements FirebaseApp {
6060 // add itself to container
6161 this . _addComponent ( new Component ( 'app' , ( ) => this , ComponentType . PUBLIC ) ) ;
6262 // populate ComponentContainer with existing components
63- for ( const component of this . firebase_ . INTERNAL . components . values ( ) ) {
64- this . _addComponent ( component ) ;
65- }
63+ this . firebase_ . INTERNAL . components . forEach ( component =>
64+ this . _addComponent ( component )
65+ ) ;
6666 }
6767
6868 get automaticDataCollectionEnabled ( ) : boolean {
Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ export class FirebaseAppLiteImpl implements FirebaseApp {
6464 new Component ( 'app' , ( ) => this , ComponentType . PUBLIC )
6565 ) ;
6666 // populate ComponentContainer with existing components
67- for ( const component of this . firebase_ . INTERNAL . components . values ( ) ) {
68- this . container . addComponent ( component ) ;
69- }
67+ this . firebase_ . INTERNAL . components . forEach ( component =>
68+ this . container . addComponent ( component )
69+ ) ;
7070 }
7171
7272 get automaticDataCollectionEnabled ( ) : boolean {
Original file line number Diff line number Diff line change 22 "extends" : " ../../config/tsconfig.base.json" ,
33 "compilerOptions" : {
44 "outDir" : " dist" ,
5- "resolveJsonModule" : true ,
6- "downlevelIteration" : true
5+ "resolveJsonModule" : true
76 },
87 "exclude" : [" dist/**/*" ]
98}
You can’t perform that action at this time.
0 commit comments