mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #7101 from pragyandas/master
d3.select('something').node() should return of type Node #7014
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user