Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasLopes7 committed Dec 3, 2024
1 parent 59f10b3 commit 45d5918
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/clerk-js/src/ui/hooks/useEnterpriseSsoLink.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type {
CreateEnterpriseSsoFlowReturn,
CreateEnterpriseSsoLinkFlowReturn,
EmailAddressResource,
StartEnterpriseSsoLinkFlowParams,
} from '@clerk/types';
import React from 'react';

type EnterpriseSsoLinkEmailAddressReturn = CreateEnterpriseSsoFlowReturn<
type EnterpriseSsoLinkEmailAddressReturn = CreateEnterpriseSsoLinkFlowReturn<
StartEnterpriseSsoLinkFlowParams,
EmailAddressResource
>;
Expand Down
5 changes: 5 additions & 0 deletions packages/types/src/signUp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ export type PrepareVerificationParams =
strategy: SamlStrategy;
redirectUrl?: string;
actionCompleteRedirectUrl?: string;
}
| {
strategy: EnterpriseSSOStrategy;
redirectUrl?: string;
actionCompleteRedirectUrl?: string;
};

export type AttemptVerificationParams =
Expand Down

0 comments on commit 45d5918

Please sign in to comment.