From 289ba098a611b80ee03ed72a2feee41a593fe765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrej=20Kireje=C5=AD?= Date: Thu, 18 Jul 2019 23:36:45 +0300 Subject: [PATCH] [@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. --- types/cytoscape/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/cytoscape/index.d.ts b/types/cytoscape/index.d.ts index caf5ec6d2e..7eb1972403 100644 --- a/types/cytoscape/index.d.ts +++ b/types/cytoscape/index.d.ts @@ -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 // Shenghan Gao // Yuri Pereira Constante // Jan-Niclas Struewer // Cerberuser +// Andrej Kirejeŭ // 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"; /**