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 init
npm install -g webpack
npm install --save react react-dom @types/react @types/react-dom
npm install --save-dev typescript awesome-typescript-loader source-map-loader
npm install ajv@^6.0.0
npm i react-html-id
import UniqueId from 'react-html-id';
I did the above(although I already had npm installed) and it worked!