Could not find declaration folder error when try to import
heimdallxx opened this issue · comments
M. Ali Altun commented
Hello sorry about my english but when i try to import module from a component it says:
" Could not find a declaration file for module '@dongido/vue-viaudio'. 'd:/GitWorks/diko/client/node_modules/@dongido/vue-viaudio/dist/vue-viaudio.umd.js' implicitly has an 'any' type.
Try npm i --save-dev @types/dongido__vue-viaudio
if it exists or add a new declaration (.d.ts) file containing declare module '@dongido/vue-viaudio';
"
and my code is below :
`
<Media
:kind="'video'"
:isMuted="false"
:src="['https://www.w3schools.com/html/mov_bbb.mp4']"
:poster="'https://peach.blender.org/wp-content/uploads/title_anouncement.jpg?x11217'"
:autoplay="true"
:controls="true"
:loop="true"
@pause="handle"
:ref="'video_player'"
width="auto"
>
import Media from "@dongido/vue-viaudio";
export default {
data() {
return {};
},
components: {
Media,
},
};
</script> <style scoped> </style>`