I have a thing that I want to inform you.
After updating to v15.0.0, I am getting the following error.
Could not find a declaration file for module 'mousetrap'. '/node_modules/angular2-hotkeys/node_modules/mousetrap/mousetrap.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/mousetrap` if it exists or add a new declaration (.d.ts) file containing `declare module 'mousetrap';`
import { MousetrapInstance } from 'mousetrap';
Thank you for your great library.
I have a thing that I want to inform you. After updating to v15.0.0, I am getting the following error.
I think it's because
@types/mousetrap
was moved fromdependencies
todevDependencies
between v13.4.0 and v15.0.0. https://github.com/brtnshrdr/angular2-hotkeys/compare/v13.4.0...v15.0.0If there is no problem, I think it would be better to return it to
dependencies
, what do you think?