Skip to content

Commit

Permalink
Update .changeset/tiny-forks-sit.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lennart <lekoarts@gmail.com>
  • Loading branch information
dimkl and LekoArts authored Nov 29, 2023
1 parent fb6e321 commit 495c3eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .changeset/tiny-forks-sit.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
'@clerk/types': minor
---

Update `<ClerkProvider/>` `routerPush` and `routerReplace` options to be both required or both missing.
Also used internally the `Without` generic instead of `Omit` to resolve issues with complex types and
partially making a type property optional.
Update the TypeScript types of `<ClerkProvider />`. If you use the `routerPush` prop you're now required to also provide the `routerReplace` prop (or other way around). You can also not provide them at all since both props are optional.

0 comments on commit 495c3eb

Please sign in to comment.