Skip to content

Commit bedbdc9

Browse files
committed
withclient docstring
1 parent fb557d1 commit bedbdc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/hub/src/hub.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,7 @@ export class Hub implements HubInterface {
473473
/**
474474
* Internal helper function to call a method on the top client if it exists.
475475
*
476-
* @param method The method to call on the client.
477-
* @param args Arguments to pass to the client function.
476+
* @param callback Callback that gets passed client and scope from stack
478477
*/
479478
// eslint-disable-next-line @typescript-eslint/no-explicit-any
480479
private _withClient(callback: (client: Client, scope: Scope | undefined) => void): void {

0 commit comments

Comments
 (0)