made font-options in "NodeOptions" optional (#13935)

Add an optional extended description…
This commit is contained in:
mkollers
2017-01-11 18:04:20 +01:00
committed by Sheetal Nandi
parent 7e99c5f1ab
commit 3588cb7e50

14
vis/index.d.ts vendored
View File

@@ -1568,13 +1568,13 @@ export interface NodeOptions {
};
font?: string | {
color: string,
size: number, // px
face: string,
background: string,
strokeWidth: number, // px
strokeColor: string,
align: string,
color?: string,
size?: number, // px
face?: string,
background?: string,
strokeWidth?: number, // px
strokeColor?: string,
align?: string,
};
group?: string;