diff --git a/src/PasswordReset.ts b/src/PasswordReset.ts index aacef332f0..1c6c8744ec 100644 --- a/src/PasswordReset.ts +++ b/src/PasswordReset.ts @@ -37,7 +37,7 @@ export default class PasswordReset { * @param {string} homeserverUrl The URL to the HS which has the account to reset. * @param {string} identityUrl The URL to the IS which has linked the email -> mxid mapping. */ - constructor(homeserverUrl, identityUrl) { + constructor(homeserverUrl: string, identityUrl: string) { this.client = createClient({ baseUrl: homeserverUrl, idBaseUrl: identityUrl,