@types/d3-hierarchy
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -157,3 +157,3 @@ // Type definitions for D3JS d3-hierarchy module 1.1 | ||
*/ | ||
export function hierarchy<Datum>(data: Datum, children?: (d: Datum) => (Datum[] | null)): HierarchyNode<Datum>; | ||
export function hierarchy<Datum>(data: Datum, children?: (d: Datum) => (Datum[] | null | undefined)): HierarchyNode<Datum>; | ||
@@ -186,3 +186,3 @@ // ----------------------------------------------------------------------- | ||
*/ | ||
id(id: (d: Datum, i?: number, data?: Datum[]) => (string | null | '' | undefined)): this; | ||
id(id: (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined)): this; | ||
@@ -202,3 +202,3 @@ /** | ||
*/ | ||
parentId(parentId: (d: Datum, i?: number, data?: Datum[]) => (string | null | '' | undefined)): this; | ||
parentId(parentId: (d: Datum, i: number, data: Datum[]) => (string | null | '' | undefined)): this; | ||
} | ||
@@ -582,3 +582,3 @@ | ||
// Tiling functions ----------------------------------------------------------------------- | ||
// Tiling functions ------------------------------------------------------ | ||
@@ -755,3 +755,3 @@ /** | ||
*/ | ||
radius(radius: (node: HierarchyCircularNode<Datum>) => number): this; | ||
radius(radius: null | ((node: HierarchyCircularNode<Datum>) => number)): this; | ||
@@ -758,0 +758,0 @@ /** |
{ | ||
"name": "@types/d3-hierarchy", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "TypeScript definitions for D3JS d3-hierarchy module", | ||
@@ -35,4 +35,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "03ca14d184dd86e8cd400bf0f7d09d7a503f167c1cedcefc5c26d3b50dba1e6f", | ||
"typesPublisherContentHash": "7fa7e37f0d68708228cd9cdd69c4f1a40feb9b9436df74614e1144ec9cce23ad", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 01 Aug 2018 01:30:09 GMT | ||
* Last updated: Sat, 18 Aug 2018 01:07:25 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0