From b66a326779a82ef7a0128f65a7ddea8c4ab9ad13 Mon Sep 17 00:00:00 2001 From: Vazha Asatiani Date: Tue, 16 Apr 2019 13:58:23 +0400 Subject: [PATCH] Make TimelineTooltipOption properties optional Those properties have default values in vis library so they don't need to be required. --- types/vis/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/vis/index.d.ts b/types/vis/index.d.ts index 813a149baf..80be24f8b0 100644 --- a/types/vis/index.d.ts +++ b/types/vis/index.d.ts @@ -193,8 +193,8 @@ export interface TimelineRollingModeOption { } export interface TimelineTooltipOption { - followMouse: boolean; - overflowMethod: 'cap' | 'flip'; + followMouse?: boolean; + overflowMethod?: 'cap' | 'flip'; } export type TimelineOptionsConfigureFunction = (option: string, path: string[]) => boolean;