title: Could not find a declaration for module 'mssql/msnodesqlv8'
body: <p>developing <code>API</code> using <code>typescript</code> in <code>node.js</code></p>
  
  <p>importing the below package to use <code>sql server database</code></p>
  
  <pre><code>import sql from "mssql/msnodesqlv8";
  </code></pre>
  
  <p>but this giving me the following error</p>
  
  <blockquote>
    <p>Could not find a declaration for module 'mssql/msnodesqlv8'
        implicitly has an any type. if it exists or add a new declaration (.d.ts) file 
        containing declare module 'mssql'</p>
  </blockquote>
  
  <p>I have this declaration in almost every routing file and facing this ugly red color on every file showing me error because of this declaration. </p>
  
  <p>The following packages are installed in my project</p>
  
  <pre><code>"msnodesqlv8": "^0.6.6",
  "mssql": "^4.1.0",
  "@types/mssql": "^4.0.7",
  </code></pre>
  
  <p>Any suggestions to get out of this?</p>
  
  <p><a href="https://i.stack.imgur.com/Smgpq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Smgpq.jpg" alt="enter image description here"></a></p>