forked from mystiq/hydrogen-web
fix conflicting sortedIndex declaration
This commit is contained in:
parent
fc3eb7f57f
commit
581ef47c78
1 changed files with 0 additions and 2 deletions
|
@ -18,8 +18,6 @@ import {BaseObservableList} from "./BaseObservableList";
|
||||||
import {sortedIndex} from "../../utils/sortedIndex";
|
import {sortedIndex} from "../../utils/sortedIndex";
|
||||||
import {findAndUpdateInArray} from "./common";
|
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> {
|
export class SortedArray<T> extends BaseObservableList<T> {
|
||||||
private _comparator: (left: T, right: T) => number;
|
private _comparator: (left: T, right: T) => number;
|
||||||
private _items: T[] = [];
|
private _items: T[] = [];
|
||||||
|
|
Loading…
Reference in a new issue