You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Remove redundant parameter initialisers
This commit is contained in:
@@ -35,8 +35,6 @@ export default class ScalarAuthClient {
|
|||||||
private isDefaultManager: boolean;
|
private isDefaultManager: boolean;
|
||||||
|
|
||||||
constructor(private apiUrl: string, private uiUrl: string) {
|
constructor(private apiUrl: string, private uiUrl: string) {
|
||||||
this.apiUrl = apiUrl;
|
|
||||||
this.uiUrl = uiUrl;
|
|
||||||
this.scalarToken = null;
|
this.scalarToken = null;
|
||||||
// `undefined` to allow `startTermsFlow` to fallback to a default
|
// `undefined` to allow `startTermsFlow` to fallback to a default
|
||||||
// callback if this is unset.
|
// callback if this is unset.
|
||||||
|
|||||||
@@ -33,9 +33,6 @@ export class Service {
|
|||||||
* @param {string} accessToken The user's access token for the service
|
* @param {string} accessToken The user's access token for the service
|
||||||
*/
|
*/
|
||||||
constructor(public serviceType: string, public baseUrl: string, public accessToken: string) {
|
constructor(public serviceType: string, public baseUrl: string, public accessToken: string) {
|
||||||
this.serviceType = serviceType;
|
|
||||||
this.baseUrl = baseUrl;
|
|
||||||
this.accessToken = accessToken;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ export default class Timer {
|
|||||||
private reject: (Error) => void;
|
private reject: (Error) => void;
|
||||||
|
|
||||||
constructor(private timeout: number) {
|
constructor(private timeout: number) {
|
||||||
this.timeout = timeout;
|
|
||||||
this.setNotStarted();
|
this.setNotStarted();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user