mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
[@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:
committed by
Pranav Senthilnathan
parent
105423a537
commit
5ff6bfd1b9
Vendored
+4
@@ -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
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user