@types/d3-hierarchy
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -158,3 +158,6 @@ // Type definitions for D3JS d3-hierarchy module 1.1 | ||
*/ | ||
export function hierarchy<Datum>(data: Datum, children?: (d: Datum) => (Datum[] | null | undefined)): HierarchyNode<Datum>; | ||
export function hierarchy<Datum>( | ||
data: Datum, | ||
children?: (d: Datum) => Datum[] | null | undefined, | ||
): HierarchyNode<Datum>; | ||
@@ -178,3 +181,3 @@ // ----------------------------------------------------------------------- | ||
*/ | ||
id(): (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined); | ||
id(): (d: Datum, i: number, data: Datum[]) => string | null | "" | undefined; | ||
/** | ||
@@ -188,3 +191,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; | ||
@@ -194,3 +197,3 @@ /** | ||
*/ | ||
parentId(): (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined); | ||
parentId(): (d: Datum, i: number, data: Datum[]) => string | null | "" | undefined; | ||
/** | ||
@@ -205,3 +208,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; | ||
} | ||
@@ -591,3 +594,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; | ||
@@ -613,3 +622,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; | ||
@@ -616,0 +631,0 @@ // TODO: Test Factory code |
{ | ||
"name": "@types/d3-hierarchy", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"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": "950b84ceb2c0135b9679587961dbc4ccdd6afd8576a9aa8f19b67e4d318a2342", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "5b2b42a00ee5e9463bd2d6ac86ff7a2271bd185dfb544ddf5d95a7dd217e5b30", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 20:32:40 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
37276
770