'export_api' doesnt exist in type 'GanttPlugins'

Why this happened?

dhtmlx-gantt version: 8.0.11

Hello,

The issue occurs because export_api is not defined in the GanttPlugins interface in version 8.0.11. As a result, TypeScript doesn’t recognize export_api as a valid property. However, this type has been added in more recent versions. Would it be possible for you to update to the latest version, 9.0.4?

1 Like

Hello. In addition, you could also replace the type definition file (dhtmlxgantt.d.ts) with the one from version 9.0. You can find it here: gantt/codebase/dhtmlxgantt.d.ts at master · DHTMLX/gantt · GitHub

1 Like