mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Move initialisers to field
This commit is contained in:
parent
b8a915bb76
commit
3b39007a5d
@ -28,16 +28,10 @@ import {SettingLevel} from "../settings/SettingLevel";
|
||||
const INDEX_VERSION = 1;
|
||||
|
||||
export class EventIndexPeg {
|
||||
public index: EventIndex;
|
||||
public error: Error;
|
||||
public index: EventIndex = null;
|
||||
public error: Error = null;
|
||||
|
||||
private _supportIsInstalled: boolean;
|
||||
|
||||
constructor() {
|
||||
this.index = null;
|
||||
this.error = null;
|
||||
this._supportIsInstalled = false;
|
||||
}
|
||||
private _supportIsInstalled = false;
|
||||
|
||||
/**
|
||||
* Initialize the EventIndexPeg and if event indexing is enabled initialize
|
||||
|
Loading…
Reference in New Issue
Block a user