From 24c9576fc57b20151e03d36506b7ce32ebbe19c9 Mon Sep 17 00:00:00 2001 From: Christina Holland Date: Thu, 5 May 2022 10:05:43 -0700 Subject: [PATCH] Make some doc comment changes --- packages/auth/src/core/index.ts | 4 ++-- packages/auth/src/model/public_types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/auth/src/core/index.ts b/packages/auth/src/core/index.ts index 921d1fd57d2..54bfb3491d5 100644 --- a/packages/auth/src/core/index.ts +++ b/packages/auth/src/core/index.ts @@ -89,8 +89,8 @@ export function onIdTokenChanged( * * @param auth - The {@link Auth} instance. * @param callback - callback triggered before new user value is set. - * If this throws, it will block the user from being set. - * @param onAbort - callback triggered if a later before state changed + * If this throws, it blocks the user from being set. + * @param onAbort - callback triggered if a later `beforeAuthStateChanged()` * callback throws, allowing you to undo any side effects. */ export function beforeAuthStateChanged( diff --git a/packages/auth/src/model/public_types.ts b/packages/auth/src/model/public_types.ts index b5c222b5ff0..5aab9972eb0 100644 --- a/packages/auth/src/model/public_types.ts +++ b/packages/auth/src/model/public_types.ts @@ -259,8 +259,8 @@ export interface Auth { * sets a new user. * * @param callback - callback triggered before new user value is set. - * If this throws, it will block the user from being set. - * @param onAbort - callback triggered if a later before state changed + * If this throws, it blocks the user from being set. + * @param onAbort - callback triggered if a later `beforeAuthStateChanged()` * callback throws, allowing you to undo any side effects. */ beforeAuthStateChanged(