changed return type of node() to Node

This commit is contained in:
pragyandas
2015-12-08 16:19:41 +05:30
parent 5c3e47967a
commit f6e34ebc7c
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;
}