I have installed keyboardteleopjs using npm. I am using it for creating a plugin in Grafana which is a ReactJs component.
However when I import it in typescript file it gives me the following error ,
Could not find a declaration file for module 'keyboardteleopjs'. '../node_modules/keyboardteleopjs/src/KeyboardTeleop.js' implicitly has an 'any' type.
Try npm i --save-dev @types/keyboardteleopjs if it exists or add a new declaration (.d.ts) file containing declare module 'keyboardteleopjs';ts(7016)
How can I fix that?
Does it mean that the package does not support typescript?
I have installed keyboardteleopjs using npm. I am using it for creating a plugin in Grafana which is a ReactJs component. However when I import it in typescript file it gives me the following error ,
Could not find a declaration file for module 'keyboardteleopjs'. '../node_modules/keyboardteleopjs/src/KeyboardTeleop.js' implicitly has an 'any' type. Try
npm i --save-dev @types/keyboardteleopjs
if it exists or add a new declaration (.d.ts) file containingdeclare module 'keyboardteleopjs';
ts(7016)How can I fix that? Does it mean that the package does not support typescript?