@types/d3-collection
Advanced tools
Comparing version 0.0.1 to 0.0.2
// Type definitions for D3JS d3-collection module 1.0.0 | ||
// Project: https://github.com/d3/d3-collection/ | ||
// 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 | ||
@@ -107,6 +107,6 @@ | ||
interface Nest<Datum, RollupType> { | ||
key(func: (datum: Datum) => string): Nest<Datum, RollupType>; | ||
sortKeys(comparator: (a: string, b: string) => number): Nest<Datum, RollupType>; | ||
sortValues(comparator: (a: Datum, b: Datum) => number): Nest<Datum, RollupType>; | ||
rollup(func: (values: Datum[]) => RollupType): Nest<Datum, RollupType>; | ||
key(func: (datum: Datum) => string): this; | ||
sortKeys(comparator: (a: string, b: string) => number): this; | ||
sortValues(comparator: (a: Datum, b: Datum) => number): this; | ||
rollup(func: (values: Datum[]) => RollupType): this; | ||
map(array: Datum[]): Map<any>; // more specifically it returns NestedMap<Datum, RollupType> | ||
@@ -113,0 +113,0 @@ object(array: Datum[]): { [key: string]: any }; // more specifically it returns NestedObject<Datum, RollupType> |
{ | ||
"name": "@types/d3-collection", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "TypeScript definitions for D3JS d3-collection module 1.0.0", | ||
"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", | ||
@@ -22,3 +22,3 @@ "libraryDependencies": [], | ||
"hasPackageJson": false, | ||
"contentHash": "5af63b4fbef85dab2f114211fee790a14a0119c23ad17c64edb58042121434ff" | ||
"contentHash": "25ebdf4ae48c0c32c51fd3479fd0e96e06e3263fe4af0e7bb701d78bcae86975" | ||
} |
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
7809