type annotate fields
This commit is contained in:
parent
dad37dece3
commit
030c46264b
1 changed files with 4 additions and 0 deletions
|
@ -17,8 +17,12 @@ limitations under the License.
|
||||||
|
|
||||||
import {LogItem} from "./LogItem.js";
|
import {LogItem} from "./LogItem.js";
|
||||||
import {LogLevel, LogFilter} from "./LogFilter.js";
|
import {LogLevel, LogFilter} from "./LogFilter.js";
|
||||||
|
import {Platform} from "../platform/web/Platform.js";
|
||||||
|
|
||||||
export class BaseLogger {
|
export class BaseLogger {
|
||||||
|
protected _openItems: Set<LogItem>;
|
||||||
|
protected _platform: Platform;
|
||||||
|
|
||||||
constructor({platform}) {
|
constructor({platform}) {
|
||||||
this._openItems = new Set();
|
this._openItems = new Set();
|
||||||
this._platform = platform;
|
this._platform = platform;
|
||||||
|
|
Reference in a new issue