fix conflicting sortedIndex declaration

This commit is contained in:
Bruno Windels 2021-11-30 16:53:59 +01:00
parent fc3eb7f57f
commit 581ef47c78

View file

@ -18,8 +18,6 @@ import {BaseObservableList} from "./BaseObservableList";
import {sortedIndex} from "../../utils/sortedIndex";
import {findAndUpdateInArray} from "./common";
declare function sortedIndex<T>(array: T[], value: T, comparator: (left: T, right: T) => number): number;
export class SortedArray<T> extends BaseObservableList<T> {
private _comparator: (left: T, right: T) => number;
private _items: T[] = [];