diff --git a/types/d3-graphviz/index.d.ts b/types/d3-graphviz/index.d.ts index cfcde911be..f4904a8829 100644 --- a/types/d3-graphviz/index.d.ts +++ b/types/d3-graphviz/index.d.ts @@ -4,10 +4,12 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 +declare module 'd3-graphviz' { + import { ZoomBehavior } from 'd3-zoom' import { Selection } from 'd3-selection' -declare module 'd3-selection' { +module 'd3-selection' { interface Selection { graphviz(options?: IGraphvizOptions | boolean): IGraphviz; selectWithoutDataPropagation(): Selection; @@ -100,4 +102,5 @@ export interface IGraphviz { inserDrawnNode(nodeId: string): IGraphviz; removeDrawnNode(): IGraphviz; drawnNodeSelection(): Selection; -} \ No newline at end of file +} +}