mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
7
d3/d3.d.ts
vendored
7
d3/d3.d.ts
vendored
@@ -233,6 +233,13 @@ declare module D3 {
|
||||
*/
|
||||
transpose(matrix: any[]): any[];
|
||||
/**
|
||||
* Creates an array containing tuples of adjacent pairs
|
||||
*
|
||||
* @param arr An array containing entries to pair
|
||||
* @returns any[][] An array of 2-element tuples for each pair
|
||||
*/
|
||||
pairs(arr: any[]): any[][];
|
||||
/**
|
||||
* List the keys of an associative array.
|
||||
*
|
||||
* @param map Array of objects to get the key values from
|
||||
|
||||
Reference in New Issue
Block a user