mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #3797 from gildorwang/fix-d3-types
Fix return type of D3.Selection.classed(string) to boolean
This commit is contained in:
Vendored
+1
-1
@@ -728,7 +728,7 @@ declare module D3 {
|
||||
};
|
||||
|
||||
classed: {
|
||||
(name: string): string;
|
||||
(name: string): boolean;
|
||||
(name: string, value: any): Selection;
|
||||
(name: string, valueFunction: (data: any, index: number) => any): Selection;
|
||||
(classValueMap: Object): Selection;
|
||||
|
||||
Reference in New Issue
Block a user