Skip to content

Commit 064e1ca

Browse files
update getAuth comment to make clear that it's idempotent (#5255)
* update getAuth comment * Update packages-exp/auth-exp/index.ts Co-authored-by: Kevin Cheung <[email protected]> * empty Co-authored-by: Kevin Cheung <[email protected]>
1 parent bb6b5ab commit 064e1ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages-exp/auth-exp/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ export { browserPopupRedirectResolver } from './src/platform_browser/popup_redir
122122
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
123123

124124
/**
125-
* Initializes an Auth instance with platform specific default dependencies.
125+
* Returns the Auth instance associated with the provided {@link @firebase/app#FirebaseApp}.
126+
* If no instance exists, initializes an Auth instance with platform-specific default dependencies.
126127
*
127128
* @param app - The Firebase App.
128129
*

0 commit comments

Comments
 (0)