mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-10 12:10:18 +00:00
Merge pull request #1010 from flxf/d3selectionnode
D3's Selection.node() returns an HTMLElement
This commit is contained in:
4
d3/d3.d.ts
vendored
4
d3/d3.d.ts
vendored
@@ -740,7 +740,7 @@ declare module D3 {
|
||||
*/
|
||||
sort<T>(comparator?: (a: T, b: T) => number): Selection;
|
||||
order: () => Selection;
|
||||
node: () => SVGLocatable;
|
||||
node: () => HTMLElement;
|
||||
}
|
||||
|
||||
export interface EnterSelection {
|
||||
@@ -748,7 +748,7 @@ declare module D3 {
|
||||
insert: (name: string, before: string) => Selection;
|
||||
select: (selector: string) => Selection;
|
||||
empty: () => boolean;
|
||||
node: () => SVGLocatable;
|
||||
node: () => HTMLElement;
|
||||
}
|
||||
|
||||
export interface UpdateSelection extends Selection {
|
||||
|
||||
Reference in New Issue
Block a user