Hi.
I'm struggling a bit with the TypeScript type definitions for "Native Gantt".
We have installed @bryntum/gantt@5.1.2 which ships with a type definition file which seems to declare a lot of properties and functions as simply Object or Function, which kind of defeats the purpose of having types. Is there a better type definition file available in another package or perhaps a developer build which offers better support for TypeScript?
Due to strict linting rules I'm not allowed to cast properties of type Object to any which would normally allow me to access sub properties. So I constantly have to explicitly declare type information like below when it has not been defined in Gantt's type definitions.
type subGridType = {locked: { width: number }};
(ganttInstance.subGrids as subGridType).locked.width = 200;
None of the types or their properties have inline documentation either, so I constantly have to look them up in the online documentation as well.
Please let me know if there is something that can be done to improve our developer experience. We'd also be interested in any information you might have in regards to planned improvements to type definitions in the near future.
-- Thanks