[@types/cytoscape] add missing edge arrows types. (#36927)

* [@types/cytoscape] add missing types for edge arrows.

* [@types/cytoscape] increase version of cytoscape.

* [@types/cytoscape] correct cytoscape version.
This commit is contained in:
Andrej Kirejeŭ 2019-07-18 23:36:45 +03:00 committed by Andrew Branch
parent 2acc4a72d5
commit 289ba098a6

View File

@ -1,10 +1,11 @@
// Type definitions for Cytoscape.js 3.4
// Type definitions for Cytoscape.js 3.8
// Project: http://js.cytoscape.org/
// Definitions by: Fabian Schmidt and Fred Eisele <https://github.com/phreed>
// Shenghan Gao <https://github.com/wy193777>
// Yuri Pereira Constante <https://github.com/ypconstante>
// Jan-Niclas Struewer <https://github.com/janniclas>
// Cerberuser <https://github.com/cerberuser>
// Andrej Kirejeŭ <https://github.com/gsbelarus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
//
// Translation from Objects in help to Typescript interface.
@ -3806,8 +3807,7 @@ declare namespace cytoscape {
*/
"edge-distances": "intersection" | "segment-weights" | "node-position";
}
type ArrowShape = "tee" | "triangle" | "triangle-tee" | "triangle-backcurve" | "square" | "circle" | "diamond" | "none";
type ArrowShape = "tee" | "vee" | "triangle" | "triangle-tee" | "triangle-cross" | "triangle-backcurve" | "square" | "circle" | "diamond" | "chevron" | "none";
type ArrowFill = "filled" | "hollow";
/**