problem description
how to use vue-video-player? in vue+typescript
the environmental background of the problems and what methods you have tried
error
Could not find a declaration file for module "vue-video-player". is reported when the vue-video-player, is introduced on the page according to the result of installing the vue-video-player". on the official website. "/ Users/wangjie/Desktop/skyeye/node_modules/_vue-video-player@5.0.2@vue-video-player/dist/vue-video-player.js" implicitly has an "any" type.
Try npm install @ types/vue-video-player
if it exists or add a new declaration (.d.ts) file containing declare module" vue-video-player";
then execute npm install @ types/vue-video-player, error
npm err! Code E404
npm err! 404 Not Found: @ types/vue-video-player@latest
npm err! A complete log of this run can be found in:
npm err! / Users/wangjie/.npm/_logs/2018-10-22T12_27_17_681Z-debug.log
not very familiar with typeScript, ask for guidance!