From e5b1cff237b8647fb878b48912f167b99c5b5a83 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Thu, 19 Aug 2021 10:43:48 +0200 Subject: [PATCH] Add missing types --- src/PasswordReset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PasswordReset.ts b/src/PasswordReset.ts index 1c6c8744ec..76f54de245 100644 --- a/src/PasswordReset.ts +++ b/src/PasswordReset.ts @@ -53,7 +53,7 @@ export default class PasswordReset { * @param {string} newPassword The new password for the account. * @return {Promise} Resolves when the email has been sent. Then call checkEmailLinkClicked(). */ - public resetPassword(emailAddress, newPassword): Promise { + public resetPassword(emailAddress: string, newPassword: string): Promise { this.password = newPassword; return this.client.requestPasswordEmailToken(emailAddress, this.clientSecret, 1).then((res) => { this.sessionId = res.sid;