From 252eb7242e339f4e9c09f919e98deb42e64d0022 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Thu, 19 Aug 2021 09:48:12 +0200 Subject: [PATCH] Add missing types for constructor --- src/PasswordReset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,