From 68311ab84352443e9872590a5362496562d70f10 Mon Sep 17 00:00:00 2001 From: Satoshi Nakagawa Date: Thu, 14 Jun 2018 18:24:40 +0900 Subject: [PATCH] cytoscape: fix return type of traversing methods --- types/cytoscape/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/cytoscape/index.d.ts b/types/cytoscape/index.d.ts index a3226defd2..63741d8a34 100644 --- a/types/cytoscape/index.d.ts +++ b/types/cytoscape/index.d.ts @@ -2747,28 +2747,28 @@ declare namespace cytoscape { * * @param selector [optional] An optional selector that is used to filter the resultant collection. */ - outgoers(selector?: Selector): EdgeCollection; + outgoers(selector?: Selector): CollectionReturnValue; /** * Recursively get edges (and their targets) coming out of the nodes in the collection (i.e. the outgoers, the outgoers' outgoers, ...). * * @param selector [optional] An optional selector that is used to filter the resultant collection. */ - successors(selector?: Selector): EdgeCollection; + successors(selector?: Selector): CollectionReturnValue; /** * Get edges (and their sources) coming into the nodes in the collection. * * @param selector [optional] An optional selector that is used to filter the resultant collection. */ - incomers(selector?: Selector): EdgeCollection; + incomers(selector?: Selector): CollectionReturnValue; /** * Recursively get edges (and their sources) coming into the nodes in the collection (i.e. the incomers, the incomers' incomers, ...). * * @param selector [optional] An optional selector that is used to filter the resultant collection. */ - predecessors(selector?: Selector): EdgeCollection; + predecessors(selector?: Selector): CollectionReturnValue; } /**