mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fix return type of Selection.classed(string) to boolean
This commit is contained in:
1 parent
fe39944e4d
commit
c6b6779a46
1 file changed
+1
-1
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