Typescript react - Could not find a declaration file for module ''react-materialize'. 'path/to/module-name.js' implicitly has an any type : <p>I am trying to import components from react-materialize as - </p>

<pre><code>import {Navbar, NavItem} from 'react-materialize';
</code></pre>

<p>But when the webpack is compining my <code>.tsx</code> it throws an error for the above as -</p>

<pre><code>ERROR in ./src/common/navbar.tsx
(3,31): error TS7016: Could not find a declaration file for module 'react-materi
alize'. 'D:\Private\Works\Typescript\QuickReact\node_modules\react-materialize\l
ib\index.js' implicitly has an 'any' type.
</code></pre>

<p>Any resolution for this .I'm unsure how to resolve this import statement to work with <code>ts-loader</code> and webpack. </p>

<p>The <code>index.js</code> of react-materialize looks likes this . But how to resolve this for the module import in my own files ..</p>

<p><a href="https://github.com/react-materialize/react-materialize/blob/master/src/index.js" rel="noreferrer">https://github.com/react-materialize/react-materialize/blob/master/src/index.js</a></p>
