type annotate fields

This commit is contained in:
RMidhunSuresh 2021-11-09 13:00:37 +05:30
parent dad37dece3
commit 030c46264b

View file

@ -17,8 +17,12 @@ limitations under the License.
import {LogItem} from "./LogItem.js";
import {LogLevel, LogFilter} from "./LogFilter.js";
import {Platform} from "../platform/web/Platform.js";
export class BaseLogger {
protected _openItems: Set<LogItem>;
protected _platform: Platform;
constructor({platform}) {
this._openItems = new Set();
this._platform = platform;