select arg doesnt have to exist

This commit is contained in:
Brandon Luong
2014-11-13 17:14:26 -08:00
parent 3386f2363b
commit 5ffc677fc7
Vendored
+2 -2
View File
@@ -14,13 +14,13 @@ declare module D3 {
*
* @param selector Selection String to match
*/
(selector: string): Selection;
(selector?: string): Selection;
/**
* Selects the specified node
*
* @param element Node element to select
*/
(element: EventTarget): Selection;
(element?: EventTarget): Selection;
};
/**