Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fresh-pandas-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/types': patch
---

Add example usage for `__experimental_startPath`.
2 changes: 2 additions & 0 deletions packages/types/src/clerk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@
*/
windowNavigate: (to: URL | string) => void;
},
) => Promise<unknown> | unknown;

Check warning on line 1178 in packages/types/src/clerk.ts

View workflow job for this annotation

GitHub Actions / Static analysis

'unknown' overrides all other types in this union type

export type WithoutRouting<T> = Omit<T, 'path' | 'routing'>;

Expand Down Expand Up @@ -1496,6 +1496,7 @@
customPages?: CustomPage[];
/**
* Specify on which page the user profile modal will open.
* @example __experimental_startPath: '/members'
* @experimental
**/
__experimental_startPath?: string;
Expand Down Expand Up @@ -1527,6 +1528,7 @@
customPages?: CustomPage[];
/**
* Specify on which page the organization profile modal will open.
* @example __experimental_startPath: '/organization-members'
* @experimental
**/
__experimental_startPath?: string;
Expand Down
Loading