Remove redundant parameter initialisers

pull/21833/head
J. Ryan Stinnett 2021-04-26 17:12:31 +01:00
parent 26bb7c08c2
commit 417f662ea7
3 changed files with 0 additions and 6 deletions

View File

@ -35,8 +35,6 @@ export default class ScalarAuthClient {
private isDefaultManager: boolean;
constructor(private apiUrl: string, private uiUrl: string) {
this.apiUrl = apiUrl;
this.uiUrl = uiUrl;
this.scalarToken = null;
// `undefined` to allow `startTermsFlow` to fallback to a default
// callback if this is unset.

View File

@ -33,9 +33,6 @@ export class Service {
* @param {string} accessToken The user's access token for the service
*/
constructor(public serviceType: string, public baseUrl: string, public accessToken: string) {
this.serviceType = serviceType;
this.baseUrl = baseUrl;
this.accessToken = accessToken;
}
}

View File

@ -33,7 +33,6 @@ export default class Timer {
private reject: (Error) => void;
constructor(private timeout: number) {
this.timeout = timeout;
this.setNotStarted();
}