I am trying to import components from react-materialize as -
import {Navbar, NavItem} from \'react-materialize\';
But when the webpack is
try adding to tsconfig.json file: "noImplicitAny": false
worked for me
What I did was run the following commands from nodejs command prompt while in the project folder directory:
npm initnpm install -g webpacknpm install --save react react-dom @types/react @types/react-domnpm install --save-dev typescript awesome-typescript-loader source-map-loadernpm install ajv@^6.0.0npm i react-html-idimport UniqueId from 'react-html-id';I did the above(although I already had npm installed) and it worked!