From e2b3df89629a3cd465b88d91b7f99330b291f22a Mon Sep 17 00:00:00 2001 From: Yuri Pereira Constante Date: Sat, 23 Dec 2017 20:46:38 -0200 Subject: [PATCH] cytoscape: layout events with LayoutEventObject as parameter --- types/cytoscape/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/cytoscape/index.d.ts b/types/cytoscape/index.d.ts index b7dc39f596..237a65cebb 100644 --- a/types/cytoscape/index.d.ts +++ b/types/cytoscape/index.d.ts @@ -4144,7 +4144,7 @@ declare namespace cytoscape { GridLayoutOptions | CircleLayoutOptions | ConcentricLayoutOptions | BreadthFirstLayoutOptions | CoseLayoutOptions | BaseLayoutOptions; - type LayoutHandler = () => void; + type LayoutHandler = (e: LayoutEventObject) => void; interface BaseLayoutOptions { name: string;