markerjs icon indicating copy to clipboard operation
markerjs copied to clipboard

Typing error in Activator.d.ts

Open akyrey opened this issue 5 years ago • 2 comments

Hello! First of all, thank you for the great library!

After installing it in an Angular 8 application I have this error during build:

ERROR in node_modules/markerjs/typings/Activator.d.ts:3:16 - error TS1086: An accessor cannot be declared in an ambient context.
static get isLicensed(): boolean;

I've installed version 1.8.1 and I'm using TypeScript 3.5.3

akyrey avatar Jun 03 '20 07:06 akyrey

Thank you for reporting this. I will investigate. Since the d.ts files are auto-generate it could take a bit. In the meantime, the workaround is to disable type-checking on libraries:

"compilerOptions": {
    "skipLibCheck": true
}

https://stackoverflow.com/a/61155732

ailon avatar Jun 03 '20 07:06 ailon

Thank you!

akyrey avatar Jun 03 '20 07:06 akyrey