Add missing types for constructor

pull/21833/head
Dariusz Niemczyk 2021-08-19 09:48:12 +02:00
parent 4e5f83344e
commit 252eb7242e
No known key found for this signature in database
GPG Key ID: 3E8DC619E3C59A05
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ export default class PasswordReset {
* @param {string} homeserverUrl The URL to the HS which has the account to reset. * @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. * @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({ this.client = createClient({
baseUrl: homeserverUrl, baseUrl: homeserverUrl,
idBaseUrl: identityUrl, idBaseUrl: identityUrl,