diff --git a/packages/amazon-cognito-identity-js/index.d.ts b/packages/amazon-cognito-identity-js/index.d.ts index ada0fd3ff05..0fdf1763dc5 100644 --- a/packages/amazon-cognito-identity-js/index.d.ts +++ b/packages/amazon-cognito-identity-js/index.d.ts @@ -164,7 +164,7 @@ declare module 'amazon-cognito-identity-js' { public sendMFACode( confirmationCode: string, callbacks: { - onSuccess: (session: CognitoUserSession) => void; + onSuccess: (session: CognitoUserSession, userConfirmationNecessary?: boolean) => void; onFailure: (err: any) => void; }, mfaType?: string,