mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-07 18:18:19 +01:00
Initialize in field
This commit is contained in:
parent
4c5d028509
commit
7893a121c0
@ -23,11 +23,10 @@ import {Platform} from "../platform/web/Platform.js";
|
|||||||
type LabelOrValues = string | {l: string; [key: string]: unknown};
|
type LabelOrValues = string | {l: string; [key: string]: unknown};
|
||||||
|
|
||||||
export abstract class BaseLogger {
|
export abstract class BaseLogger {
|
||||||
protected _openItems: Set<LogItem>;
|
protected _openItems: Set<LogItem> = new Set();
|
||||||
protected _platform: Platform;
|
protected _platform: Platform;
|
||||||
|
|
||||||
constructor({platform}) {
|
constructor({platform}) {
|
||||||
this._openItems = new Set();
|
|
||||||
this._platform = platform;
|
this._platform = platform;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user