File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @clerk/types " : patch
3+ ---
4+
5+ fix(types): Change return type of SetActiveNavigate to allow void or Promise
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export type SDKMetadata = {
120120export type ListenerCallback = ( emission : Resources ) => void ;
121121export type UnsubscribeCallback = ( ) => void ;
122122export type BeforeEmitCallback = ( session ?: SignedInSessionResource | null ) => void | Promise < any > ;
123- export type SetActiveNavigate = ( { session } : { session : SessionResource } ) => Promise < unknown > ;
123+ export type SetActiveNavigate = ( { session } : { session : SessionResource } ) => void | Promise < unknown > ;
124124
125125export type SignOutCallback = ( ) => void | Promise < any > ;
126126
You can’t perform that action at this time.
0 commit comments