@types/d3-hierarchy
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -145,3 +145,2 @@ // Type definitions for D3JS d3-hierarchy module 2.0 | ||
* @param that If that is specified, it is the this context of the callback. | ||
* | ||
*/ | ||
@@ -176,3 +175,6 @@ eachAfter<T = undefined>(func: (this: T, node: this, index: number, thisNode: this) => void, that?: T): this; | ||
*/ | ||
export function hierarchy<Datum>(data: Datum, children?: (d: Datum) => (Iterable<Datum> | null | undefined)): HierarchyNode<Datum>; | ||
export function hierarchy<Datum>( | ||
data: Datum, | ||
children?: (d: Datum) => Iterable<Datum> | null | undefined, | ||
): HierarchyNode<Datum>; | ||
@@ -196,3 +198,3 @@ // ----------------------------------------------------------------------- | ||
*/ | ||
id(): (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined); | ||
id(): (d: Datum, i: number, data: Datum[]) => string | null | "" | undefined; | ||
/** | ||
@@ -206,3 +208,3 @@ * Sets the id accessor to the given function. | ||
*/ | ||
id(id: (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined)): this; | ||
id(id: (d: Datum, i: number, data: Datum[]) => string | null | "" | undefined): this; | ||
@@ -212,3 +214,3 @@ /** | ||
*/ | ||
parentId(): (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined); | ||
parentId(): (d: Datum, i: number, data: Datum[]) => string | null | "" | undefined; | ||
/** | ||
@@ -223,3 +225,3 @@ * Sets the parent id accessor to the given function. | ||
*/ | ||
parentId(parentId: (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined)): this; | ||
parentId(parentId: (d: Datum, i: number, data: Datum[]) => string | null | "" | undefined): this; | ||
} | ||
@@ -609,3 +611,9 @@ | ||
*/ | ||
export function treemapBinary(node: HierarchyRectangularNode<any>, x0: number, y0: number, x1: number, y1: number): void; | ||
export function treemapBinary( | ||
node: HierarchyRectangularNode<any>, | ||
x0: number, | ||
y0: number, | ||
x1: number, | ||
y1: number, | ||
): void; | ||
@@ -631,3 +639,9 @@ /** | ||
*/ | ||
export function treemapSliceDice(node: HierarchyRectangularNode<any>, x0: number, y0: number, x1: number, y1: number): void; | ||
export function treemapSliceDice( | ||
node: HierarchyRectangularNode<any>, | ||
x0: number, | ||
y0: number, | ||
x1: number, | ||
y1: number, | ||
): void; | ||
@@ -634,0 +648,0 @@ // TODO: Test Factory code |
{ | ||
"name": "@types/d3-hierarchy", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "TypeScript definitions for D3JS d3-hierarchy module", | ||
@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-hierarchy", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "297c2221b67dabd15a67643e4bce4bf59fbff5d717add6021e7e594e83c237ca", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "c22c9eb37e20999ec299d4331831f62df80b06ff385057593c26259893a361ed", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 20:32:39 GMT | ||
* Last updated: Fri, 22 Sep 2023 20:29:40 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
38406
784