Skip to content

Commit cd3f7e1

Browse files
committed
Formatting pass.
1 parent cf7b8fc commit cd3f7e1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

packages/auth/src/platform_browser/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ export function getAuth(app: FirebaseApp = getApp()): Auth {
8989
const authTokenSyncUrl = getExperimentalSetting('authTokenSyncURL');
9090
if (authTokenSyncUrl) {
9191
const mintCookie = mintCookieFactory(authTokenSyncUrl);
92-
beforeAuthStateChanged(auth, mintCookie, () => mintCookie(auth.currentUser));
92+
beforeAuthStateChanged(auth, mintCookie, () =>
93+
mintCookie(auth.currentUser)
94+
);
9395
onIdTokenChanged(auth, user => mintCookie(user));
9496
}
9597

packages/util/src/defaults.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ export type ExperimentalKey = 'authTokenSyncURL' | 'authIdTokenMaxAge';
2828
* An object that can be injected into the environment as __FIREBASE_DEFAULTS__,
2929
* either as a property of globalThis, a shell environment variable, or a
3030
* cookie.
31-
*
31+
*
3232
* This object can be used to automatically configure and initialize
3333
* a Firebase app as well as any emulators.
34-
*
34+
*
3535
* @public
3636
*/
3737
export interface FirebaseDefaults {
@@ -111,8 +111,9 @@ const getDefaults = (): FirebaseDefaults | undefined =>
111111
* for the given product.
112112
* @public
113113
*/
114-
export const getDefaultEmulatorHost = (productName: string): string | undefined =>
115-
getDefaults()?.emulatorHosts?.[productName];
114+
export const getDefaultEmulatorHost = (
115+
productName: string
116+
): string | undefined => getDefaults()?.emulatorHosts?.[productName];
116117

117118
/**
118119
* Returns Firebase app config stored in the __FIREBASE_DEFAULTS__ object.

0 commit comments

Comments
 (0)