Lint d3-* packages (#15523)

This commit is contained in:
Andy
2017-03-30 14:12:02 -07:00
committed by GitHub
parent 3d13ec5399
commit 6a285d2dcf
15 changed files with 153 additions and 239 deletions

View File

@@ -153,8 +153,8 @@ export function bisectRight(array: Date[], x: Date, lo?: number, hi?: number): n
export const bisect: typeof bisectRight;
export interface Bisector<T, U> {
left: (array: T[], x: U, lo?: number, hi?: number) => number;
right: (array: T[], x: U, lo?: number, hi?: number) => number;
left(array: T[], x: U, lo?: number, hi?: number): number;
right(array: T[], x: U, lo?: number, hi?: number): number;
}
export function bisector<T, U>(comparator: (a: T, b: U) => number): Bisector<T, U>;