Problem description
@sebald In beta.6 the typescript types exist for material-ui (I see the .d.ts file in the installed package directory) however I keep getting definition errors when doing imports with import Paper from 'material-ui/Paper';
error TS7016: Could not find a declaration file for module 'material-ui/Paper'. '...' implicitly has an 'any' type. Try 'npm install @types/material-ui/Paper' if it exists or add a new declaration (.d.ts) file containing 'declare module 'material-ui/Paper';'
Im not sure why, I dont think there is anything strange with my tsconfig
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"jsx": "react",
"strict": true,
"baseUrl": ".",
"paths": {
"*": ["./build-tools/types/*"]
},
"inlineSourceMap": true,
"experimentalDecorators": true
}
}
Steps to reproduce
I installed beta.6 and removed my local copies of the material-ui typings (up to now Ive been keeping the typings locally)
Versions
- Material-UI: 1.0.0-beta.6
Problem description
@sebald In beta.6 the typescript types exist for material-ui (I see the .d.ts file in the installed package directory) however I keep getting definition errors when doing imports with
import Paper from 'material-ui/Paper';error TS7016: Could not find a declaration file for module 'material-ui/Paper'. '...' implicitly has an 'any' type. Try 'npm install @types/material-ui/Paper' if it exists or add a new declaration (.d.ts) file containing 'declare module 'material-ui/Paper';'Im not sure why, I dont think there is anything strange with my
tsconfigSteps to reproduce
I installed beta.6 and removed my local copies of the material-ui typings (up to now Ive been keeping the typings locally)
Versions