mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
value is optional
Co-authored-by: Bruno Windels <brunow@matrix.org>
This commit is contained in:
parent
b0ab8cd77f
commit
9c8f96e233
@ -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 New Issue
Block a user