@@ -39,7 +39,7 @@ const DEFAULT_APP_NAME = '[DEFAULT]';
39
39
40
40
/**
41
41
* Constant holding the environment variable name with the default config.
42
- * If the environmet variable contains a string that starts with '{' it will be parsed as JSON,
42
+ * If the environment variable contains a string that starts with '{' it will be parsed as JSON,
43
43
* otherwise it will be assumed to be pointing to a file.
44
44
*/
45
45
export const FIREBASE_CONFIG_VAR : string = 'FIREBASE_CONFIG' ;
@@ -72,7 +72,7 @@ export class FirebaseNamespaceInternals {
72
72
*
73
73
* @param {FirebaseAppOptions } options Optional options for the FirebaseApp instance. If none present
74
74
* will try to initialize from the FIREBASE_CONFIG environment variable.
75
- * If the environmet variable contains a string that starts with '{'
75
+ * If the environment variable contains a string that starts with '{'
76
76
* it will be parsed as JSON,
77
77
* otherwise it will be assumed to be pointing to a file.
78
78
* @param {string } [appName] Optional name of the FirebaseApp instance.
@@ -246,7 +246,7 @@ export class FirebaseNamespaceInternals {
246
246
/**
247
247
* Parse the file pointed to by the FIREBASE_CONFIG_VAR, if it exists.
248
248
* Or if the FIREBASE_CONFIG_ENV contains a valid JSON object, parse it directly.
249
- * If the environmet variable contains a string that starts with '{' it will be parsed as JSON,
249
+ * If the environment variable contains a string that starts with '{' it will be parsed as JSON,
250
250
* otherwise it will be assumed to be pointing to a file.
251
251
*/
252
252
private loadOptionsFromEnvVar ( ) : FirebaseAppOptions {
@@ -392,7 +392,7 @@ export class FirebaseNamespace {
392
392
*
393
393
* @param {FirebaseAppOptions } [options] Optional options for the FirebaseApp instance.
394
394
* If none present will try to initialize from the FIREBASE_CONFIG environment variable.
395
- * If the environmet variable contains a string that starts with '{' it will be parsed as JSON,
395
+ * If the environment variable contains a string that starts with '{' it will be parsed as JSON,
396
396
* otherwise it will be assumed to be pointing to a file.
397
397
* @param {string } [appName] Optional name of the FirebaseApp instance.
398
398
*
0 commit comments