Skip to content

Commit 698eeb6

Browse files
authored
Fix typo in JSDoc (#7594)
1 parent 68927ce commit 698eeb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs-devsite/app-check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export declare function onTokenChanged(appCheckInstance: AppCheck, onNext: (toke
155155
| Parameter | Type | Description |
156156
| --- | --- | --- |
157157
| appCheckInstance | [AppCheck](./app-check.appcheck.md#appcheck_interface) | The App Check service instance. |
158-
| onNext | (tokenResult: [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface)<!-- -->) =&gt; void | When the token changes, this function is called with aa [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface)<!-- -->. |
158+
| onNext | (tokenResult: [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface)<!-- -->) =&gt; void | When the token changes, this function is called with an [AppCheckTokenResult](./app-check.appchecktokenresult.md#appchecktokenresult_interface)<!-- -->. |
159159
| onError | (error: Error) =&gt; void | Optional. Called if there is an error thrown by the listener (the <code>onNext</code> function). |
160160
| onCompletion | () =&gt; void | Currently unused, as the token stream is unending. |
161161

packages/app-check/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export function onTokenChanged(
259259
* the current token associated with this App Check instance changes.
260260
*
261261
* @param appCheckInstance - The App Check service instance.
262-
* @param onNext - When the token changes, this function is called with aa
262+
* @param onNext - When the token changes, this function is called with an
263263
* {@link AppCheckTokenResult}.
264264
* @param onError - Optional. Called if there is an error thrown by the
265265
* listener (the `onNext` function).

0 commit comments

Comments
 (0)