I want to mention that I am the creator of Angular-Slickgrid.
The error you are experiencing is related to TypeScript and not directly linked to the library. It could be due to using outdated versions of Angular and TypeScript, which have reached their end of life (EOL) and are no longer supported. It might be beneficial for you to consider upgrading. To resolve this issue, you may need to have at least TypeScript 3.6.0
(or possibly 3.7.0
). Further details on this can be found in a separate Stack Overflow answer here addressing the error message 'TS1086: An accessor cannot be declared in ambient context' with Angular. If upgrading is not an option, you will need to continue using older versions without access to new features and fixes. The key challenge lies in TypeScript altering the structure of Type d.ts
files around version 3.6.0+
.
Consider upgrading as even Node 10 has reached its EOL phase.
Currently, the minimum supported version of Angular is 9 (with LTS ending on "Aug 6, 2021"). Upgrading to version 9 or higher (preferrably a newer one given the impending LTS expiration date) should address your problem.