Skip to content

Commit 5376088

Browse files
committed
Add skipInitialEmit to JSDoc
1 parent 0c4909f commit 5376088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/shared/src/types/clerk.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ export interface Clerk {
696696
* When a session is loading, user and session will be undefined.
697697
*
698698
* @param callback - Callback function receiving the most updated Clerk resources after a change.
699+
* @param options.skipInitialEmit - If true, the callback will not be called immediately after registration.
699700
* @returns - Unsubscribe callback
700701
*/
701702
addListener: (callback: ListenerCallback, options?: ListenerOptions) => UnsubscribeCallback;

0 commit comments

Comments
 (0)