Move initialisers to field
This commit is contained in:
parent
b8a915bb76
commit
3b39007a5d
1 changed files with 3 additions and 9 deletions
|
@ -28,16 +28,10 @@ import {SettingLevel} from "../settings/SettingLevel";
|
||||||
const INDEX_VERSION = 1;
|
const INDEX_VERSION = 1;
|
||||||
|
|
||||||
export class EventIndexPeg {
|
export class EventIndexPeg {
|
||||||
public index: EventIndex;
|
public index: EventIndex = null;
|
||||||
public error: Error;
|
public error: Error = null;
|
||||||
|
|
||||||
private _supportIsInstalled: boolean;
|
private _supportIsInstalled = false;
|
||||||
|
|
||||||
constructor() {
|
|
||||||
this.index = null;
|
|
||||||
this.error = null;
|
|
||||||
this._supportIsInstalled = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the EventIndexPeg and if event indexing is enabled initialize
|
* Initialize the EventIndexPeg and if event indexing is enabled initialize
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue