diff --git a/types/d3-graphviz/index.d.ts b/types/d3-graphviz/index.d.ts index f08ec0e019..12316c5147 100644 --- a/types/d3-graphviz/index.d.ts +++ b/types/d3-graphviz/index.d.ts @@ -36,7 +36,7 @@ declare module 'd3-selection' { * @param selector either a string representing a selector for a given node or an instance of a node * @param options the options to be applied to the graphviz renderer */ -export function graphviz(selector: string | GElement, options?: GraphvizOptions | boolean): Graphviz; +export function graphviz(selector: string | BaseType, options?: GraphvizOptions | boolean): Graphviz; /** * Interface representing the Graphviz Renderer. Methods generally return the instance of the