angular-mgl-timeline icon indicating copy to clipboard operation
angular-mgl-timeline copied to clipboard

Error: TS1086: An accessor cannot be declared in an ambient context

Open AnthonyNahas opened this issue 4 years ago • 2 comments

I've just updated the library from 0.3.2 to 0.3.3

and I've got the following errors:

Bildschirmfoto 2020-03-29 um 21 25 30

the project can't be compiled anymore

AnthonyNahas avatar Mar 29 '20 19:03 AnthonyNahas

Hi @AnthonyNahas and thanks for your interest in the library.

A bit of googling led my to the assumption that this may be a typescript issue. Could you please try to use a newer version of typescript or set skipLibCheck to true in your tsconfig as suggested here?

Please let me know if either helps.

glutengo avatar Mar 29 '20 19:03 glutengo

Hi @glutengo! I had the same error, i added "skipLibCheck": true in tsconfig.json and it worked.

mauricio2654 avatar Mar 30 '20 13:03 mauricio2654