mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
made font-options in "NodeOptions" optional (#13935)
Add an optional extended description…
This commit is contained in:
14
vis/index.d.ts
vendored
14
vis/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user