mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
changed return type of node() to Node
This commit is contained in:
1 parent
5c3e47967a
commit
f6e34ebc7c
1 file changed
+2
-2
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