diff --git a/src/GoTrueClient.ts b/src/GoTrueClient.ts index 23dfc3042..00958fd65 100644 --- a/src/GoTrueClient.ts +++ b/src/GoTrueClient.ts @@ -722,8 +722,8 @@ export default class GoTrueClient { */ async verifyOtp(params: VerifyOtpParams): Promise { try { - let redirectTo = undefined - let captchaToken = undefined + let redirectTo: string | undefined = undefined + let captchaToken: string | undefined = undefined if ('options' in params) { redirectTo = params.options?.redirectTo captchaToken = params.options?.captchaToken