Sorry, but I am deploying to the product because of that error, I can't build it, so is there any fix
Support Forum
Have you tried to suppress the errors using @ts-ignore?
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html#suppress-errors-in-ts-files-using--ts-ignore-comments
Pavlo Miklashevych
Sr. Frontend Developer
Reading your code snippet carefully I paid attention you're changing subGridConfigs. This is a config. It is not supposed to be changed dynamically.
And the subGrids getter you can simply replace with the getSubGrid function.
// gantt.subGrids.locked => gantt.getSubGrid('locked')
Pavlo Miklashevych
Sr. Frontend Developer