mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
select arg doesnt have to exist
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user