mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-19 11:40:24 +08:00
Update signature of data method on Selection.
This commit is contained in:
1 parent
14bea81d0e
commit
9c74f4c5d9
1 file changed
+2
-2
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