Home > @firebase/app > initializeApp
initializeApp() function
Creates and initializes a FirebaseApp instance.
Signature:
export declare function initializeApp(options: FirebaseOptions, config?: FirebaseAppConfig): FirebaseApp;
Parameters
Parameter | Type | Description |
---|---|---|
options | FirebaseOptions | Options to configure the app's services. |
config | FirebaseAppConfig | FirebaseApp Configuration |
Returns: