fix ts errors

This commit is contained in:
Bruno Windels 2022-02-10 16:44:40 +01:00
parent 8526461d3c
commit 3adb2c3254

View File

@ -67,7 +67,7 @@ export class NullLogItem implements ILogItem {
log(): ILogItem {
return this;
}
set(): void {}
set(): ILogItem { return this; }
runDetached(_: LabelOrValues, callback: LogCallback<unknown>): ILogItem {
new Promise(r => r(callback(this))).then(noop, noop);