From 475d7eab896794e8e8cb5a65f53cd362b1d4fb57 Mon Sep 17 00:00:00 2001 From: wwjd1234 <47537285+wwjd1234@users.noreply.github.com> Date: Wed, 13 Feb 2019 10:00:25 -0500 Subject: [PATCH] Update index.d.ts Line 2012 posFromDate return type should be number --- types/dhtmlxgantt/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/dhtmlxgantt/index.d.ts b/types/dhtmlxgantt/index.d.ts index 5502cdcaf2..cb009f20aa 100644 --- a/types/dhtmlxgantt/index.d.ts +++ b/types/dhtmlxgantt/index.d.ts @@ -2009,7 +2009,7 @@ interface GanttStatic { * gets the relative horizontal position of the specified date in the chart area * @param date a date you want to know the position of */ - posFromDate(date: Date): void; + posFromDate(date: Date): number; /** * applies the reverted changes to the gantt once again