From 9c8f96e233e2bb16234d5a536d39d88932f0a9f0 Mon Sep 17 00:00:00 2001 From: R Midhun Suresh Date: Wed, 17 Nov 2021 11:43:59 +0530 Subject: [PATCH] value is optional Co-authored-by: Bruno Windels --- src/logging/LogItem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);