Fix for selector functions

This commit is contained in:
Cerberuser
2018-06-09 14:43:53 +07:00
parent 217d2bf4be
commit 2bc5077b3a
+2 -2
View File
@@ -2449,14 +2449,14 @@ declare namespace cytoscape {
* @param selector The selector to match against.
* http://js.cytoscape.org/#eles.filter
*/
nodes(selector: Selector): NodeCollection;
nodes(selector?: Selector): NodeCollection;
/**
* Get the edges that match the specified selector.
*
* @param selector The selector to match against.
* http://js.cytoscape.org/#eles.filter
*/
edges(selector: Selector): EdgeCollection;
edges(selector?: Selector): EdgeCollection;
/**
* Get a new collection containing the elements sorted by the