mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-19 16:51:40 +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};
|
||||
|
||||
export abstract class BaseLogger {
|
||||
protected _openItems: Set<LogItem>;
|
||||
protected _openItems: Set<LogItem> = new Set();
|
||||
protected _platform: Platform;
|
||||
|
||||
constructor({platform}) {
|
||||
this._openItems = new Set();
|
||||
this._platform = platform;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user