Skip to content

Commit e31f3d5

Browse files
authored
fix(shared): Allow task URL customisation for specific tasks (#7354)
1 parent 4f4924e commit e31f3d5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/bright-islands-say.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/shared': patch
3+
---
4+
5+
Fix for allowing task url customization for specific tasks instead of requiring them all

packages/shared/src/types/clerk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ export type ClerkOptions = ClerkOptionsNavigation &
11771177
*
11781178
* @default undefined
11791179
*/
1180-
taskUrls?: Record<SessionTask['key'], string>;
1180+
taskUrls?: Partial<Record<SessionTask['key'], string>>;
11811181
};
11821182

11831183
export interface NavigateOptions {

0 commit comments

Comments
 (0)