Merge pull request #7101 from pragyandas/master

d3.select('something').node() should return of type Node #7014
This commit is contained in:
Boris Yankov
2015-12-09 03:36:17 +02:00
Vendored
+2 -2
View File
@@ -791,7 +791,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.
@@ -854,7 +854,7 @@ declare module d3 {
call(func: (transition: Transition<Datum>, ...args: any[]) => any, ...args: any[]): Transition<Datum>;
empty(): boolean;
node(): EventTarget;
node(): Node;
size(): number;
}