mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
Fix type of keyFunction in d3.nest().key(keyFunction)
This commit is contained in:
Vendored
+1
-1
@@ -755,7 +755,7 @@ declare module D3 {
|
||||
}
|
||||
|
||||
export interface Nest {
|
||||
key(keyFunction: (data: any, index: number) => any): Nest;
|
||||
key(keyFunction: (data: any, index: number) => string): Nest;
|
||||
sortKeys(comparator: (d1: any, d2: any) => number): Nest;
|
||||
sortValues(comparator: (d1: any, d2: any) => number): Nest;
|
||||
rollup(rollupFunction: (data: any, index: number) => any): Nest;
|
||||
|
||||
Reference in New Issue
Block a user