@ngx/translate ts1086: An accessor cannot be declared in an ambient context

Hi,

I’m creating an app with language selection and when I try to run it it gives me the following error. Can someone please help me with it?

1 Like

Finally solved the issue, it’s a temporary solution, but worked for me…

in package.json , I downgrade the ngx-translate.

I changed
"@ngx-translate/core": "^13.0.0",

to

"@ngx-translate/core": "^12.1.1",

1 Like

Thanks . It saved me alot.

1 Like