title: Error: Could not find declaration file for module VueJS application
body: <p>Hi I am using NuxtJS to build a VueJS application. I have installed an image cropping library <a href="https://github.com/jofftiquez/vue-croppie" rel="nofollow noreferrer">vue-croppie</a>. I have imported the Vue component as per the documentation  like below</p>
  <pre><code>import VueCroppie from 'vue-croppie'
  </code></pre>
  <p>However, I am getting the following error on import statement</p>
  <blockquote>
  <p>Could not find a declaration file for module 'vue-croppie'. 'xxx/node_modules/vue-croppie/dist/vue-croppie.cjs.js' implicitly has an 'any' type.
  Try <code>npm i --save-dev @types/vue-croppie</code> if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-croppie';</p>
  </blockquote>
  <p>I have tried declaring <code>index.d.ts</code> file at the root of my project with following content but id doesn't solve the problem</p>
  <pre><code>declare module 'vue-croppie';
  </code></pre>
  <p>I have tried using <code>require</code> like below as suggested on other posts but of no use</p>
  <pre><code>const VueCroppie = require('vue-croppie')
  </code></pre>
  <p>I understand this is a Typescript issue but have no knowledge about Typescript. Can somebody throw more light on this. What is happening and how to fix it.</p>
  <p>Thanks</p>