Merge pull request #4935 from vpineda1996/patch-2

node() function will return DOM Node insead of EventTarget
This commit is contained in:
Masahiro Wakame
2015-07-17 00:44:16 +09:00
Vendored
+1 -1
View File
@@ -386,7 +386,7 @@ declare module d3 {
/**
* Returns the first non-null element in the selection, or null otherwise.
*/
node(): EventTarget;
node(): Node;
/**
* Returns the total number of elements in the selection.