mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix type error
This commit is contained in:
parent
21080d2110
commit
762925d4a5
@ -19,7 +19,7 @@ import {BaseObservableMap} from "./BaseObservableMap";
|
|||||||
export class ObservableMap<K, V> extends BaseObservableMap<K, V> {
|
export class ObservableMap<K, V> extends BaseObservableMap<K, V> {
|
||||||
private readonly _values: Map<K, V>;
|
private readonly _values: Map<K, V>;
|
||||||
|
|
||||||
constructor(initialValues?: Iterable<[K, V]>) {
|
constructor(initialValues?: Iterable<readonly [K, V]>) {
|
||||||
super();
|
super();
|
||||||
this._values = new Map(initialValues);
|
this._values = new Map(initialValues);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user