I am trying to import components from react-materialize as -
import {Navbar, NavItem} from \'react-materialize\';
But when the webpack is
If there is no @types/ for the module you are using, you may easily circumvent the issue by adding a // @ts-ignore comment above i.e.
// @ts-ignore
import { Navbar, NavItem } from 'react-materialize';
Alternatively you may create the missing @types/ following:
declaration files publishing
DefinitelyTyped how can i contribute