[@types/vis] add optional string types to EdgeOptions (#34972)

* @types/vis Adding Types to Edges.Arrows

Adding Edges.Arrows.To/Middle/From Type

* Correcting contributor link
This commit is contained in:
Sam Welek
2019-04-25 19:06:52 -07:00
committed by Pranav Senthilnathan
parent 105423a537
commit 5ff6bfd1b9
+4
View File
@@ -12,6 +12,7 @@
// dcop <https://github.com/dcop>
// Avraham Essoudry <https://github.com/avrahamcool>
// Dmitriy Trifonov <https://github.com/divideby>
// Sam Welek <https://github.com/tiberiushunter>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { MomentInput, MomentFormatSpecification, Moment } from 'moment';
@@ -1870,14 +1871,17 @@ export interface EdgeOptions {
to?: boolean | {
enabled?: boolean,
scaleFactor?: number,
type?: string
},
middle?: boolean | {
enabled?: boolean,
scaleFactor?: number,
type?: string
},
from?: boolean | {
enabled?: boolean,
scaleFactor?: number,
type?: string
}
};