From 581ef47c78db67fed09fb1f314acaad8f3610feb Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 30 Nov 2021 16:53:59 +0100 Subject: [PATCH] fix conflicting sortedIndex declaration --- src/observable/list/SortedArray.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/observable/list/SortedArray.ts b/src/observable/list/SortedArray.ts index abbfa481..c85cca27 100644 --- a/src/observable/list/SortedArray.ts +++ b/src/observable/list/SortedArray.ts @@ -18,8 +18,6 @@ import {BaseObservableList} from "./BaseObservableList"; import {sortedIndex} from "../../utils/sortedIndex"; import {findAndUpdateInArray} from "./common"; -declare function sortedIndex(array: T[], value: T, comparator: (left: T, right: T) => number): number; - export class SortedArray extends BaseObservableList { private _comparator: (left: T, right: T) => number; private _items: T[] = [];