title: ERROR in @ngx-translate/core - error TS1086: An accessor cannot be declared in an ambient context in Angular 8
body: <p>I am using Angular 8 and implementing Internationalization (i18n) using ngx-translate. I have used the following libraries.</p>
  <ol>
  <li>&quot;@ngx-translate/core&quot;: &quot;^13.0.0&quot;,</li>
  <li>&quot;@ngx-translate/http-loader&quot;: &quot;^6.0.0&quot;.</li>
  </ol>
  <p>At running this angular project, I got that error.</p>
  <p>Please help me to fix this error.</p>
  <p>Here's the full error:</p>
  <pre><code>ERROR in node_modules/@ngx-translate/core/lib/translate.directive.d.ts:14:9 - error TS1086: An accessor cannot be declared in an ambient context.
  
      node_modules/@ngx-translate/core/lib/translate.directive.d.ts:15:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:49:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:56:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:63:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:67:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:68:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:72:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:73:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:77:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:78:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:82:9 - error TS1086: An accessor cannot be declared in an ambient context.
      node_modules/@ngx-translate/core/lib/translate.service.d.ts:83:9 - error TS1086: An accessor cannot be declared in an ambient context.
  
  </code></pre>
  <p>And here's my package.json</p>
  <pre><code>{
    &quot;name&quot;: &quot;ng-i18n&quot;,
    &quot;version&quot;: &quot;0.0.0&quot;,
    &quot;scripts&quot;: {
      &quot;ng&quot;: &quot;ng&quot;,
      &quot;start&quot;: &quot;ng serve&quot;,
      &quot;build&quot;: &quot;ng build&quot;,
      &quot;test&quot;: &quot;ng test&quot;,
      &quot;lint&quot;: &quot;ng lint&quot;,
      &quot;e2e&quot;: &quot;ng e2e&quot;
    },
    &quot;private&quot;: true,
    &quot;dependencies&quot;: {
      &quot;@angular/animations&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/common&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/compiler&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/core&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/forms&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/platform-browser&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/platform-browser-dynamic&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/router&quot;: &quot;~8.2.14&quot;,
      &quot;@ngx-translate/core&quot;: &quot;^13.0.0&quot;,
      &quot;@ngx-translate/http-loader&quot;: &quot;^6.0.0&quot;,
      &quot;bootstrap&quot;: &quot;^4.0.0&quot;,
      &quot;jquery&quot;: &quot;^3.5.1&quot;,
      &quot;rxjs&quot;: &quot;~6.4.0&quot;,
      &quot;tslib&quot;: &quot;^1.10.0&quot;,
      &quot;zone.js&quot;: &quot;~0.9.1&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@angular-devkit/build-angular&quot;: &quot;~0.803.28&quot;,
      &quot;@angular/cli&quot;: &quot;~8.3.28&quot;,
      &quot;@angular/compiler-cli&quot;: &quot;~8.2.14&quot;,
      &quot;@angular/language-service&quot;: &quot;~8.2.14&quot;,
      &quot;@types/node&quot;: &quot;~8.9.4&quot;,
      &quot;@types/jasmine&quot;: &quot;~3.3.8&quot;,
      &quot;@types/jasminewd2&quot;: &quot;~2.0.3&quot;,
      &quot;codelyzer&quot;: &quot;^5.0.0&quot;,
      &quot;jasmine-core&quot;: &quot;~3.4.0&quot;,
      &quot;jasmine-spec-reporter&quot;: &quot;~4.2.1&quot;,
      &quot;karma&quot;: &quot;~4.1.0&quot;,
      &quot;karma-chrome-launcher&quot;: &quot;~2.2.0&quot;,
      &quot;karma-coverage-istanbul-reporter&quot;: &quot;~2.0.1&quot;,
      &quot;karma-jasmine&quot;: &quot;~2.0.1&quot;,
      &quot;karma-jasmine-html-reporter&quot;: &quot;^1.4.0&quot;,
      &quot;protractor&quot;: &quot;~7.0.0&quot;,
      &quot;ts-node&quot;: &quot;~7.0.0&quot;,
      &quot;tslint&quot;: &quot;~5.15.0&quot;,
      &quot;typescript&quot;: &quot;~3.5.3&quot;
    }
  }
  </code></pre>