GT-RAIL / keyboardteleopjs

Keyboard Teleoperation via Twist Messages
http://robotwebtools.org/
Other
20 stars 16 forks source link

Could not find a declaration file or module for 'keyboardteleopjs' #21

Closed sairajkamble closed 2 years ago

sairajkamble commented 2 years ago

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?