mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-31 14:41:39 +01:00
fix conflicting sortedIndex declaration
This commit is contained in:
parent
fc3eb7f57f
commit
581ef47c78
@ -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[] = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user