Skip to content

Commit 8ebfd25

Browse files
clp93bojeil-google
authored andcommitted
nit: Fix minor typo environmet (#350)
1 parent 5309ec3 commit 8ebfd25

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/firebase-namespace.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const DEFAULT_APP_NAME = '[DEFAULT]';
3939

4040
/**
4141
* 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,
4343
* otherwise it will be assumed to be pointing to a file.
4444
*/
4545
export const FIREBASE_CONFIG_VAR: string = 'FIREBASE_CONFIG';
@@ -72,7 +72,7 @@ export class FirebaseNamespaceInternals {
7272
*
7373
* @param {FirebaseAppOptions} options Optional options for the FirebaseApp instance. If none present
7474
* 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 '{'
7676
* it will be parsed as JSON,
7777
* otherwise it will be assumed to be pointing to a file.
7878
* @param {string} [appName] Optional name of the FirebaseApp instance.
@@ -246,7 +246,7 @@ export class FirebaseNamespaceInternals {
246246
/**
247247
* Parse the file pointed to by the FIREBASE_CONFIG_VAR, if it exists.
248248
* 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,
250250
* otherwise it will be assumed to be pointing to a file.
251251
*/
252252
private loadOptionsFromEnvVar(): FirebaseAppOptions {
@@ -392,7 +392,7 @@ export class FirebaseNamespace {
392392
*
393393
* @param {FirebaseAppOptions} [options] Optional options for the FirebaseApp instance.
394394
* 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,
396396
* otherwise it will be assumed to be pointing to a file.
397397
* @param {string} [appName] Optional name of the FirebaseApp instance.
398398
*

0 commit comments

Comments
 (0)