diff --git a/src/logging/LogItem.ts b/src/logging/LogItem.ts index 717eadfd..fd9fcb1d 100644 --- a/src/logging/LogItem.ts +++ b/src/logging/LogItem.ts @@ -159,7 +159,7 @@ export class LogItem implements ILogItem { item.end = item.start; } - set(key: string | object, value: unknown): void { + set(key: string | object, value?: unknown): void { if(typeof key === "object") { const values = key; Object.assign(this._values, values);