fix type error again

This commit is contained in:
Bruno Windels 2022-03-09 11:51:11 +01:00
parent 762925d4a5
commit 6150e91c3f

View File

@ -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<readonly [K, V]>) { constructor(initialValues?: (readonly [K, V])[]) {
super(); super();
this._values = new Map(initialValues); this._values = new Map(initialValues);
} }