Not finding open_split_tasks in config

Hi all,
I downloaded a trial version of the PRO edition (6.2.7) which I’m using in an Angular project - I’ve linked to the codebase which is in a local directory. However, I seem to be having issues when trying to use the ‘open_split_tasks’ config option and it’s not appearing in Visual Studio as one of the available functions/properties:


Am I missing something obvious? I’m importing the library like this:

import “dhtmlx-gantt”;
import “dhtmlx-gantt/codebase/ext/dhtmlxgantt_marker”;
import “dhtmlx-gantt/codebase/ext/dhtmlxgantt_tooltip”;
import “dhtmlx-gantt/codebase/ext/dhtmlxgantt_auto_scheduling”;

Thanks in advance,


Found my problem, needed to add

declare let gantt: any;

before declaring my component for it to find the types.