Source code in https://www.bryntum.com/docs/gantt/#guides/project_data.md#creating-a-project is not compatible with typings, the typescript compiler throws an error:
error TS2345: Argument of type '{ startDate: string; eventsData: { id: number; name: string; startDate: string; endDate: string; }[]; dependenciesData: any[]; }' is not assignable to parameter of type 'Partial<ProjectModelConfig>'.
Object literal may only specify known properties, and 'eventsData' does not exist in type 'Partial<ProjectModelConfig>'.
But if I add 'as any' to ignore typings problem, Gantt shows data, everything works well