@types/d3-brush
Advanced tools
Comparing version 0.0.1 to 0.0.2
// Type definitions for D3JS d3-brush module 1.0.1 | ||
// Project: https://github.com/d3/d3-brush/ | ||
// Definitions by: Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>, Tom Wanzek <https://github.com/tomwanzek> | ||
// Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
import { ArrayLike, Selection, TransitionLike } from 'd3-selection'; | ||
import { ArrayLike, Selection, TransitionLike, ValueFn } from 'd3-selection'; | ||
@@ -18,16 +18,16 @@ /** | ||
(group: Selection<SVGGElement, Datum, any, any>, ...args: any[]): void; | ||
move(group: Selection<SVGGElement, Datum, any, any>, selection: BrushSelection): BrushBehavior<Datum>; | ||
move(group: Selection<SVGGElement, Datum, any, any>, selection: (this: SVGGElement, d?: Datum, i?: number, group?: Array<SVGGElement> | ArrayLike<SVGGElement>) => BrushSelection): BrushBehavior<Datum>; | ||
move(group: TransitionLike<SVGGElement, Datum>, selection: BrushSelection): BrushBehavior<Datum>; | ||
move(group: TransitionLike<SVGGElement, Datum>, selection: (this: SVGGElement, d?: Datum, i?: number, group?: Array<SVGGElement> | ArrayLike<SVGGElement>) => BrushSelection): BrushBehavior<Datum>; | ||
extent(): (this: SVGGElement, d: Datum, i: number, group: Array<SVGGElement> | ArrayLike<SVGGElement>) => [[number, number], [number, number]]; | ||
extent(extent: [[number, number], [number, number]]): BrushBehavior<Datum>; | ||
extent(extent: (this: SVGGElement, d: Datum, i: number, group: Array<SVGGElement> | ArrayLike<SVGGElement>) => [[number, number], [number, number]]): BrushBehavior<Datum>; | ||
filter(): (this: SVGGElement, datum: Datum, index: number, group: Array<SVGGElement> | ArrayLike<SVGGElement>) => boolean; | ||
filter(filterFn: (this: SVGGElement, datum: Datum, index: number, group: Array<SVGGElement> | ArrayLike<SVGGElement>) => boolean): BrushBehavior<Datum>; | ||
move(group: Selection<SVGGElement, Datum, any, any>, selection: BrushSelection): void; | ||
move(group: Selection<SVGGElement, Datum, any, any>, selection: ValueFn<SVGGElement, Datum, BrushSelection>): void; | ||
move(group: TransitionLike<SVGGElement, Datum>, selection: BrushSelection): void; | ||
move(group: TransitionLike<SVGGElement, Datum>, selection: ValueFn<SVGGElement, Datum, BrushSelection>): void; | ||
extent(): ValueFn<SVGGElement, Datum, [[number, number], [number, number]]>; | ||
extent(extent: [[number, number], [number, number]]): this; | ||
extent(extent: ValueFn<SVGGElement, Datum, [[number, number], [number, number]]>): this; | ||
filter(): ValueFn<SVGGElement, Datum, boolean>; | ||
filter(filterFn: ValueFn<SVGGElement, Datum, boolean>): this; | ||
handleSize(): number; | ||
handleSize(size: number): BrushBehavior<Datum>; | ||
on(typenames: string): (this: SVGGElement, datum: Datum, index: number, group: Array<SVGGElement> | ArrayLike<SVGGElement>) => void; | ||
on(typenames: string, callback: null): BrushBehavior<Datum>; | ||
on(typenames: string, callback: (this: SVGGElement, datum: Datum, index: number, group: Array<SVGGElement> | ArrayLike<SVGGElement>) => void): BrushBehavior<Datum>; | ||
handleSize(size: number): this; | ||
on(typenames: string): ValueFn<SVGGElement, Datum, void>; | ||
on(typenames: string, callback: null): this; | ||
on(typenames: string, callback: ValueFn<SVGGElement, Datum, void>): this; | ||
@@ -34,0 +34,0 @@ } |
{ | ||
"name": "@types/d3-brush", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "TypeScript definitions for D3JS d3-brush module 1.0.1", | ||
"license": "MIT", | ||
"author": "Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>, Tom Wanzek <https://github.com/tomwanzek>", | ||
"author": "Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>", | ||
"main": "", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 08 Aug 2016 20:24:46 GMT | ||
* Last updated: Mon, 22 Aug 2016 17:52:11 GMT | ||
* File structure: ProperModule | ||
@@ -19,2 +19,2 @@ * Library Dependencies: none | ||
# Credits | ||
These definitions were written by Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>, Tom Wanzek <https://github.com/tomwanzek>. | ||
These definitions were written by Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>. |
{ | ||
"authors": "Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>, Tom Wanzek <https://github.com/tomwanzek>", | ||
"authors": "Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>", | ||
"definitionFilename": "index.d.ts", | ||
@@ -24,3 +24,3 @@ "libraryDependencies": [], | ||
"hasPackageJson": false, | ||
"contentHash": "eb202dcf7a5aa0786b9395d69c9ea37be1d0ecac2bf9a7f8d08cb1fe567b913f" | ||
"contentHash": "1f2d727765a563850518f655afc7523668d217e83ed1b670a45402c216e2c10b" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4527