From 7534010957b8a388fa88e53f1747df804514cf60 Mon Sep 17 00:00:00 2001 From: Luke Nelson Date: Thu, 19 Oct 2023 00:11:06 +0100 Subject: [PATCH] Fix typo in JSDoc (#7594) --- docs-devsite/app-check.md | 2 +- packages/app-check/src/api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-devsite/app-check.md b/docs-devsite/app-check.md index 1b9e93c1886..c2395471132 100644 --- a/docs-devsite/app-check.md +++ b/docs-devsite/app-check.md @@ -155,7 +155,7 @@ export declare function onTokenChanged(appCheckInstance: AppCheck, onNext: (toke | Parameter | Type | Description | | --- | --- | --- | | appCheckInstance | [AppCheck](./app-check.appcheck.md#appcheck_interface) | The App Check service instance. | -| onNext | (tokenResult: [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface)) => void | When the token changes, this function is called with aa [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface). | +| onNext | (tokenResult: [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface)) => void | When the token changes, this function is called with an [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface). | | onError | (error: Error) => void | Optional. Called if there is an error thrown by the listener (the onNext function). | | onCompletion | () => void | Currently unused, as the token stream is unending. | diff --git a/packages/app-check/src/api.ts b/packages/app-check/src/api.ts index f738b21fce2..cd0c7de2d74 100644 --- a/packages/app-check/src/api.ts +++ b/packages/app-check/src/api.ts @@ -259,7 +259,7 @@ export function onTokenChanged( * the current token associated with this App Check instance changes. * * @param appCheckInstance - The App Check service instance. - * @param onNext - When the token changes, this function is called with aa + * @param onNext - When the token changes, this function is called with an * {@link AppCheckTokenResult}. * @param onError - Optional. Called if there is an error thrown by the * listener (the `onNext` function).