mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Make optional the before argument of enter().insert('')
From the documentation: "For enter selections, the before selector may be omitted, [...]"
This commit is contained in:
1 parent
e9b0f608b1
commit
b79abf8203
1 file changed
+1
-1
Vendored
+1
-1
@@ -811,7 +811,7 @@ declare module D3 {
|
||||
|
||||
export interface EnterSelection {
|
||||
append: (name: string) => Selection;
|
||||
insert: (name: string, before: string) => Selection;
|
||||
insert: (name: string, before?: string) => Selection;
|
||||
select: (selector: string) => Selection;
|
||||
empty: () => boolean;
|
||||
node: () => Element;
|
||||
|
||||
Reference in new issue
Block a user