Closed JaiKumaresh closed 3 years ago
@JaiKumaresh pls close your PR. It's resolved in https://www.npmjs.com/package/angular2-hotkeys v2.3.1
It's resolved in https://www.npmjs.com/package/angular2-hotkeys v2.3.1
But I have ERROR in node_modules/angular2-hotkeys/lib/hotkey.model.d.ts(24,9): error TS1086: An accessor cannot be declared in an ambient context.
this error now. Kindly tell me this solution. @d3-vitalii-baziuk @Coffee-Tea
@Jai-Kumaresh when do u have that: during serving or build?? Have you installed 2.3.1? what version of Angular are u using?
@Jai-Kumaresh when do u have that: during serving or build?? Have you installed 2.3.1? what version of Angular are u using?
Installed. I run serve
then I got this error.
Got it, it's still not working for Angular 7. Are u using Angular 7?
@d3-vitalii-baziuk Check this line. If you have the solution Kindly tell me.
ok, the previous Collaborator did some updates in v.2.1.5 during migration to Angular 8.
but most of the people got into the issue in v2.2.0 and couldn't use this lib in newer versions.
So, to be honest I think that's the latest compatible version with Angular 7 is v2.1.4. There is no MousetrapInstance
issue in v2.1.4.
If u migrate your project to Angular 8 or higher just use v2.3.1.
let me know if it's clear and I can close.
I have the below error in my angular(v7.1.4) project.
So I add this pull request in angular2-hotkeys v2.1.4 the last commit. If you have anything alternative way Kindly share me.