Skip to content

Commit 63f4eca

Browse files
authored
Update doc string to reflect V9 changes (#6639)
1 parent 29d0340 commit 63f4eca

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/auth/src/platform_browser/strategies/redirect.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ export async function _linkWithRedirect(
218218
*
219219
* @remarks
220220
* If sign-in succeeded, returns the signed in user. If sign-in was unsuccessful, fails with an
221-
* error. If no redirect operation was called, returns a {@link UserCredential}
222-
* with a null `user`.
221+
* error. If no redirect operation was called, returns `null`.
223222
*
224223
* @example
225224
* ```javascript

packages/firebase/compat/index.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2613,8 +2613,7 @@ declare namespace firebase.auth {
26132613
* Returns a UserCredential from the redirect-based sign-in flow.
26142614
*
26152615
* If sign-in succeeded, returns the signed in user. If sign-in was
2616-
* unsuccessful, fails with an error. If no redirect operation was called,
2617-
* returns a UserCredential with a null User.
2616+
* unsuccessful, fails with an error. If no redirect operation was called, returns `null`.
26182617
*
26192618
* <h4>Error Codes</h4>
26202619
* <dl>

0 commit comments

Comments
 (0)