forked from mystiq/hydrogen-web
value is optional
Co-authored-by: Bruno Windels <brunow@matrix.org>
This commit is contained in:
parent
b0ab8cd77f
commit
9c8f96e233
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ export class LogItem implements ILogItem {
|
||||||
item.end = item.start;
|
item.end = item.start;
|
||||||
}
|
}
|
||||||
|
|
||||||
set(key: string | object, value: unknown): void {
|
set(key: string | object, value?: unknown): void {
|
||||||
if(typeof key === "object") {
|
if(typeof key === "object") {
|
||||||
const values = key;
|
const values = key;
|
||||||
Object.assign(this._values, values);
|
Object.assign(this._values, values);
|
||||||
|
|
Loading…
Reference in a new issue