Skip to content

Commit 6c91f7f

Browse files
committed
fix(clerk-js): Update buildTasksUrl method to accept optional redirectUrl parameter
1 parent 183636d commit 6c91f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/src/types/clerk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ export interface Clerk {
744744
/**
745745
* Returns the configured url where tasks are mounted.
746746
*/
747-
buildTasksUrl(): string;
747+
buildTasksUrl({ redirectUrl }?: { redirectUrl?: string }): string;
748748

749749
/**
750750
* Returns the configured afterSignInUrl of the instance.

0 commit comments

Comments
 (0)