Zooming Extension not working in Angular

Like shown it in the demo in Gantt home page. I have added zoom in/out and Zoom rest buttons.

But when I try to enable the Zooming extension am getting following error

Property ‘$root’ does not exist on type ‘GanttStatic’.

Am using Angular 9 and Gantt 7.1.5 versions.

Can some one please help me to resolve this issue.

Hello Kiran,
Thank you for letting us know about that issue. We are aware that there are missing types. I added the $root name to the list in our internal bug tracker. The dev team will fix it in the future, but I cannot give you any ETA.

As a workaround, you can manually add the following rule to the dhtmlxgantt.d.ts file:

$root: any;

Here is the updated file:

Or you can allow all types for the Gantt object.