@types/d3-array
Advanced tools
Comparing version 2.8.0 to 2.9.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for D3JS d3-array module 2.8 | ||
// Type definitions for D3JS d3-array module 2.9 | ||
// Project: https://github.com/d3/d3-array, https://d3js.org/d3-array | ||
@@ -10,5 +10,4 @@ // Definitions by: Alex Ford <https://github.com/gustavderdrache> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
// Last module patch version validated against: 2.8.0 | ||
// Last module patch version validated against: 2.9.1 | ||
@@ -892,2 +891,8 @@ // -------------------------------------------------------------------------- | ||
export function sort<T>(iterable: Iterable<T>, comparator?: (a: T, b: T) => number): T[]; | ||
/** | ||
* Returns an array containing the values in the given iterable in the sorted order defined by the given accessor function. | ||
* This is equivalent to a comparator using natural order. | ||
* The accessor is only invoked once per element, and thus may be nondeterministic. | ||
*/ | ||
export function sort<T>(iterable: Iterable<T>, accessor: (a: T) => unknown): T[]; | ||
@@ -894,0 +899,0 @@ // -------------------------------------------------------------------------------------- |
{ | ||
"name": "@types/d3-array", | ||
"version": "2.8.0", | ||
"version": "2.9.0", | ||
"description": "TypeScript definitions for D3JS d3-array module", | ||
@@ -47,4 +47,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e11cae8e6fa0982784fc5aa3002d51e58830d005c6d0f378884a129605786adc", | ||
"typeScriptVersion": "3.2" | ||
"typesPublisherContentHash": "5e37c7e4cb5ba25736f56a266d1bbba7f9b64b9a3a10bf6c277247fd26fd9ccc", | ||
"typeScriptVersion": "3.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 16 Nov 2020 17:32:24 GMT | ||
* Last updated: Mon, 25 Jan 2021 20:28:35 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
50053
984