Skip to content

Commit 24c9576

Browse files
committed
Make some doc comment changes
1 parent 6e8983c commit 24c9576

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/auth/src/core/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ export function onIdTokenChanged(
8989
*
9090
* @param auth - The {@link Auth} instance.
9191
* @param callback - callback triggered before new user value is set.
92-
* If this throws, it will block the user from being set.
93-
* @param onAbort - callback triggered if a later before state changed
92+
* If this throws, it blocks the user from being set.
93+
* @param onAbort - callback triggered if a later `beforeAuthStateChanged()`
9494
* callback throws, allowing you to undo any side effects.
9595
*/
9696
export function beforeAuthStateChanged(

packages/auth/src/model/public_types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ export interface Auth {
259259
* sets a new user.
260260
*
261261
* @param callback - callback triggered before new user value is set.
262-
* If this throws, it will block the user from being set.
263-
* @param onAbort - callback triggered if a later before state changed
262+
* If this throws, it blocks the user from being set.
263+
* @param onAbort - callback triggered if a later `beforeAuthStateChanged()`
264264
* callback throws, allowing you to undo any side effects.
265265
*/
266266
beforeAuthStateChanged(

0 commit comments

Comments
 (0)