mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Fix bisectLeft function declaration
It should match the type signature of `bisectRight()`.
This commit is contained in:
committed by
GitHub
parent
4e86472aab
commit
af71014144
Vendored
+1
-2
@@ -1111,8 +1111,7 @@ declare namespace d3 {
|
||||
export function deviation(array: number[]): number;
|
||||
export function deviation<T>(array: T[], accessor: (datum: T, index: number) => number): number;
|
||||
|
||||
export function bisectLeft(array: number[], x: number, lo?: number, hi?: number): number;
|
||||
export function bisectLeft(array: string[], x: string, lo?: number, hi?: number): number;
|
||||
export function bisectLeft<T>(array: T[], x: T, lo?: number, hi?: number): number;
|
||||
|
||||
export var bisect: typeof bisectRight;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user