mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +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:
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