Answer by meds for Could not find a declaration file for module...
Ok I figured it out, in tsconfig.json under 'compilerOptions' visual-studio by default had its types set to ["webpack-env"], I needed to add "material-ui" to it or optionally just remove it:...
View ArticleAnswer by mersocarlin for Could not find a declaration file for module...
Use the default import from the same path.import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
View ArticleCould not find a declaration file for module...
I'm trying to use the react material-ui theme having installed it from npm, I get the following errors when I include 'import MuiThemeProvider from "material-ui/styles/MuiThemeProvider";' in...
View ArticleAnswer by Tristan_Bagnulo for Could not find a declaration file for module...
The solution that worked for me which is med's answer above which I explain in more detail below.Open the tsconfig.json file. Add "types":"material-ui", within "compilerOptions": {}as...
View Article
More Pages to Explore .....