worktile / ngx-gantt

A modern and powerful gantt chart component for Angular

Home Page:http://gantt.ngnice.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type error

humanely opened this issue · comments

I am trying to install this in ng12. But I get this issue of strict type checks. Has anyone found a workaround?

Error: node_modules/@worktile/gantt/components/baseline/baseline.component.d.ts:17:115 - error TS2344: Type '{ baselineItem: { alias: "baselineItem"; required: false; }; template: { alias: "template"; required: false; }; }' does not satisfy the constraint '{ [key: string]: string; }'.
Property '"baselineItem"' is incompatible with index signature.
Type '{ alias: "baselineItem"; required: false; }' is not assignable to type 'string'.

Please try upgrading to a higher version to resolve the issue