mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Fix return type of 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