forked from mystiq/hydrogen-web
Initialize in field
This commit is contained in:
parent
4c5d028509
commit
7893a121c0
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue