I've been utilizing the @material-extended/mde
package to incorporate a popover with dynamic HTML content. However, I'm encountering an error:
error TS1086: An accessor cannot be declared in an ambient context.
After researching the issue, it seems that it's related to Typescript versioning. I attempted to upgrade @angular/cli
, typescript
, and @angular/animations
, but unfortunately, that didn't resolve the problem. Below is the snippet from my package.json
:
{
"name": "demo",
"version": "0.0.0",
// Dependencies here...
}
Any suggestions on how I can troubleshoot and fix this issue?