markerjs
markerjs copied to clipboard
Typing error in Activator.d.ts
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
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
Thank you!