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