Updated return type

This commit is contained in:
Dom Parfitt
2018-10-15 13:35:58 +01:00
parent d2bfcec67e
commit e4d1bfe44d

View File

@@ -221,7 +221,7 @@ declare module 'd3-graphviz' {
* Returns the zoom behaviour of a graph. If the zoom is disable or the graph has not
* yet been rendered then returns null.
*/
zoomBehavior(): ZoomBehavior<Element, any> | null;
zoomBehavior(): ZoomBehavior<Element, Datum> | null;
/**
* Returns the selection to which zoom behaviour has been applied. If zoom is disabled