diff --git a/vis/index.d.ts b/vis/index.d.ts index 9e99f410cd..92b6ea6a08 100644 --- a/vis/index.d.ts +++ b/vis/index.d.ts @@ -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;