We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04273d0 commit 4a8cb10Copy full SHA for 4a8cb10
.changeset/pink-states-lead.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/shared': patch
3
4
+
5
+Fix TypeScript issue where `signIn.phoneCode.sendCode` expected an argument.
packages/shared/src/types/signInFuture.ts
@@ -443,7 +443,7 @@ export interface SignInFutureResource {
443
/**
444
* Used to send a phone code to sign-in
445
*/
446
- sendCode: (params: SignInFuturePhoneCodeSendParams) => Promise<{ error: ClerkError | null }>;
+ sendCode: (params?: SignInFuturePhoneCodeSendParams) => Promise<{ error: ClerkError | null }>;
447
448
449
* Used to verify a code sent via phone to sign-in
0 commit comments