Merge remote-tracking branch 'upstream/develop' into burn-sdk-get-comp-with-fire

This commit is contained in:
Šimon Brandner
2021-07-02 12:18:02 +02:00
5 changed files with 38 additions and 27 deletions
+2 -1
View File
@@ -15,6 +15,7 @@ limitations under the License.
*/
import classNames from 'classnames';
import { SERVICE_TYPES } from 'matrix-js-sdk/src/service-types';
import { MatrixClientPeg } from './MatrixClientPeg';
import Modal from './Modal';
@@ -32,7 +33,7 @@ export class Service {
* @param {string} baseUrl The Base URL of the service (ie. before '/_matrix')
* @param {string} accessToken The user's access token for the service
*/
constructor(public serviceType: string, public baseUrl: string, public accessToken: string) {
constructor(public serviceType: SERVICE_TYPES, public baseUrl: string, public accessToken: string) {
}
}