You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Use private parameter properties
This commit is contained in:
@@ -30,13 +30,11 @@ const imApiVersion = "1.1";
|
|||||||
// TODO: Generify the name of this class and all components within - it's not just for Scalar.
|
// TODO: Generify the name of this class and all components within - it's not just for Scalar.
|
||||||
|
|
||||||
export default class ScalarAuthClient {
|
export default class ScalarAuthClient {
|
||||||
private apiUrl: string;
|
|
||||||
private uiUrl: string;
|
|
||||||
private scalarToken: string;
|
private scalarToken: string;
|
||||||
private termsInteractionCallback: TermsInteractionCallback;
|
private termsInteractionCallback: TermsInteractionCallback;
|
||||||
private isDefaultManager: boolean;
|
private isDefaultManager: boolean;
|
||||||
|
|
||||||
constructor(apiUrl, uiUrl) {
|
constructor(private apiUrl: string, private uiUrl: string) {
|
||||||
this.apiUrl = apiUrl;
|
this.apiUrl = apiUrl;
|
||||||
this.uiUrl = uiUrl;
|
this.uiUrl = uiUrl;
|
||||||
this.scalarToken = null;
|
this.scalarToken = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user