mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
Update signature of data method on Selection.
This commit is contained in:
Vendored
+2
-2
@@ -751,8 +751,8 @@ declare module D3 {
|
||||
empty: () => boolean;
|
||||
|
||||
data: {
|
||||
(values: (data: any, index?: number) => any[], key?: (data: any, index?: number) => string): UpdateSelection;
|
||||
(values: any[], key?: (data: any, index?: number) => string): UpdateSelection;
|
||||
(values: (data: any, index?: number) => any[], key?: (data: any, index?: number) => any): UpdateSelection;
|
||||
(values: any[], key?: (data: any, index?: number) => any): UpdateSelection;
|
||||
(): any[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user