mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
Allow Edge arrows from to be left out of edge options
network.setOptions({edges: {arrows: {to: true}}}); should be accepted since it works properly in vis, but previous @types/vis will fail type-checking.
This commit is contained in:
Vendored
+1
-1
@@ -1861,7 +1861,7 @@ export interface EdgeOptions {
|
||||
enabled?: boolean,
|
||||
scaleFactor?: number,
|
||||
},
|
||||
from: boolean | {
|
||||
from?: boolean | {
|
||||
enabled?: boolean,
|
||||
scaleFactor?: number,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user